We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7a9f121 commit d6772c4Copy full SHA for d6772c4
src/index.ts
@@ -227,16 +227,7 @@ async function getBuildOptions(
227
plugins.push(Unused.rolldown(unused === true ? {} : unused))
228
}
229
if (target) {
230
- plugins.push(
231
- transformPlugin({
232
- include: /\.[cm]?[jt]sx?$/,
233
- exclude: /\.d\.[cm]?ts$/,
234
- transformOptions: {
235
- target,
236
- },
237
- }),
238
- RuntimeHelperCheckPlugin(target),
239
- )
+ plugins.push(RuntimeHelperCheckPlugin(target))
240
241
plugins.push(ShebangPlugin(cwd, name, isMultiFormat))
242
@@ -296,6 +287,7 @@ async function getBuildOptions(
296
287
name: config.globalName,
297
288
sourcemap,
298
289
dir: outDir,
290
+ target,
299
291
minify,
300
292
entryFileNames,
301
293
chunkFileNames,
0 commit comments