File tree Expand file tree Collapse file tree 1 file changed +2
-11
lines changed
Expand file tree Collapse file tree 1 file changed +2
-11
lines changed Original file line number Diff line number Diff line change 88 type OutputOptions ,
99 type RolldownPluginOption ,
1010} from 'rolldown'
11- import { transformPlugin } from 'rolldown/experimental'
1211import { exec } from 'tinyexec'
1312import { cleanOutDir } from './features/clean'
1413import { copy } from './features/copy'
@@ -227,16 +226,7 @@ async function getBuildOptions(
227226 plugins . push ( Unused . rolldown ( unused === true ? { } : unused ) )
228227 }
229228 if ( target ) {
230- plugins . push (
231- transformPlugin ( {
232- include : / \. [ c m ] ? [ j t ] s x ? $ / ,
233- exclude : / \. d \. [ c m ] ? t s $ / ,
234- transformOptions : {
235- target,
236- } ,
237- } ) ,
238- RuntimeHelperCheckPlugin ( target ) ,
239- )
229+ plugins . push ( RuntimeHelperCheckPlugin ( target ) )
240230 }
241231 plugins . push ( ShebangPlugin ( cwd , name , isMultiFormat ) )
242232 }
@@ -296,6 +286,7 @@ async function getBuildOptions(
296286 name : config . globalName ,
297287 sourcemap,
298288 dir : outDir ,
289+ target,
299290 minify,
300291 entryFileNames,
301292 chunkFileNames,
You can’t perform that action at this time.
0 commit comments