Disable source map generation in production mode
This commit is contained in:
parent
ed52c12a83
commit
ad7489d869
1 changed files with 1 additions and 1 deletions
|
@ -19,7 +19,7 @@ const __dirname = path.dirname(url.fileURLToPath(import.meta.url));
|
|||
export default {
|
||||
input: 'src/main.js',
|
||||
output: {
|
||||
sourcemap: true,
|
||||
sourcemap: !production,
|
||||
format: 'esm',
|
||||
name: 'app',
|
||||
file: 'build/bundle.js'
|
||||
|
|
Loading…
Add table
Reference in a new issue