Skip to content

Commit

Permalink
remove unnecessary rollup config
Browse files Browse the repository at this point in the history
  • Loading branch information
gingerbenw committed Oct 24, 2024
1 parent e9769e4 commit 3c3d2ae
Showing 1 changed file with 1 addition and 21 deletions.
22 changes: 1 addition & 21 deletions packages/plugin-window-onerror/rollup.config.npm.mjs
Original file line number Diff line number Diff line change
@@ -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'
})

0 comments on commit 3c3d2ae

Please sign in to comment.