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