Compare commits

...

3 Commits

Author SHA1 Message Date
Jack Hadrill 974ee10dc2 Add dependencies to CI
continuous-integration/drone/push Build is failing Details
2021-01-05 04:02:30 +00:00
Jack Hadrill 986b560265 Add js build size optimisations
continuous-integration/drone/push Build is failing Details
2021-01-05 03:55:35 +00:00
Jack Hadrill 45b5ea8aba Change build environment to production
continuous-integration/drone/push Build is passing Details
2021-01-05 02:09:35 +00:00
2 changed files with 15 additions and 0 deletions

View File

@ -5,7 +5,11 @@ name: deploy
steps:
- name: build
image: node:lts
environment:
NODE_ENV: production
commands:
- npm install vue@next
- npm install -g @vue/cli
- npm install
- npm run build

11
vue.config.js Normal file
View File

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