Skip to content

Commit

Permalink
Exclude sourcemap for prod.
Browse files Browse the repository at this point in the history
  • Loading branch information
charliecm committed May 1, 2021
1 parent 5c6bcab commit 2c3af44
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ export default {
input: 'src/main.ts',
output: {
dir: '.',
sourcemap: 'inline',
sourcemap: isProd ? false : 'inline',
sourcemapExcludeSources: isProd,
format: 'cjs',
exports: 'default',
Expand Down

0 comments on commit 2c3af44

Please sign in to comment.