Build changes
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Jack Hadrill 2021-01-05 04:08:45 +00:00
parent dfb32be6e8
commit 6d0250bbef
2 changed files with 12 additions and 3 deletions

View File

@ -5,11 +5,9 @@ name: deploy
steps:
- name: build
image: node:lts
environment:
NODE_ENV: production
commands:
- npm install
- npm run build
- npm run build --production
- name: deploy
image: alpine

11
vue.config.js Normal file
View File

@ -0,0 +1,11 @@
module.exports = {
productionSourceMap: false,
configureWebpack: {
optimization: {
splitChunks: {
minSize: 10000,
maxSize: 250000
}
}
}
}