Skip to content

Commit 2eb2107

Browse files
committed
Modify sourcemap in production
1 parent 2c65061 commit 2eb2107

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

dist/assets/js/app.js

Lines changed: 0 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

rollup.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ const isProduction = process.env.NODE_ENV === `production`
4242
const isDevelopment = process.env.NODE_ENV === `development`
4343

4444
if (isProduction) {
45-
config.sourcemap = false
45+
config.output.sourcemap = false
4646
config.plugins.push(
4747
replace({
4848
'process.env.NODE_ENV': JSON.stringify('production')

0 commit comments

Comments
 (0)