Skip to content

Commit

Permalink
[minor] Generate source maps
Browse files Browse the repository at this point in the history
  • Loading branch information
lpinca committed Nov 28, 2022
1 parent dd44977 commit f346e20
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions rollup.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@ export default [{
output: {
compact: true,
file: 'dist/eventemitter3.esm.min.js',
format: 'es'
format: 'es',
sourcemap: true
},
plugins: [commonjs(), terser()]
}, {
Expand All @@ -30,7 +31,8 @@ export default [{
compact: true,
file: 'dist/eventemitter3.umd.min.js',
format: 'umd',
name: 'EventEmitter3'
name: 'EventEmitter3',
sourcemap: true
},
plugins: [commonjs(), terser()]
}];

0 comments on commit f346e20

Please sign in to comment.