Optimise build
This commit is contained in:
parent
bef65fb494
commit
1b81a58cb6
@ -33,8 +33,9 @@ function serve() {
|
||||
|
||||
export default {
|
||||
input: 'src/main.js',
|
||||
treeshake: !production,
|
||||
output: {
|
||||
sourcemap: true,
|
||||
sourcemap: !production,
|
||||
format: 'iife',
|
||||
name: 'app',
|
||||
file: 'public/build/bundle.js'
|
||||
|
Loading…
x
Reference in New Issue
Block a user