diff --git a/.drone.yml b/.drone.yml index e3d2c40..d063baa 100644 --- a/.drone.yml +++ b/.drone.yml @@ -5,8 +5,6 @@ name: deploy steps: - name: build image: node:lts - environment: - NODE_ENV: production commands: - npm install - npm run build diff --git a/vue.config.js b/vue.config.js new file mode 100644 index 0000000..d6d99d9 --- /dev/null +++ b/vue.config.js @@ -0,0 +1,11 @@ +module.exports = { + productionSourceMap: false, + configureWebpack: { + optimization: { + splitChunks: { + minSize: 10000, + maxSize: 250000 + } + } + } +}