diff --git a/packages/plugin-window-onerror/rollup.config.npm.mjs b/packages/plugin-window-onerror/rollup.config.npm.mjs index f001dd2b8..356d458f9 100644 --- a/packages/plugin-window-onerror/rollup.config.npm.mjs +++ b/packages/plugin-window-onerror/rollup.config.npm.mjs @@ -1,25 +1,5 @@ import createRollupConfig from '../../.rollup/index.mjs' export default createRollupConfig({ - input: 'src/onerror.ts', - output: [ - { - dir: `dist`, - entryFileNames: '[name].js', - format: 'cjs', - preserveModules: true, - generatedCode: { - preset: 'es2015', - } - }, - { - dir: `dist`, - entryFileNames: '[name].mjs', - format: 'esm', - preserveModules: true, - generatedCode: { - preset: 'es2015', - } - } - ] + input: 'src/onerror.ts' })