Compare commits
3 Commits
e6352b3a8d
...
974ee10dc2
Author | SHA1 | Date |
---|---|---|
Jack Hadrill | 974ee10dc2 | |
Jack Hadrill | 986b560265 | |
Jack Hadrill | 45b5ea8aba |
|
@ -5,7 +5,11 @@ name: deploy
|
||||||
steps:
|
steps:
|
||||||
- name: build
|
- name: build
|
||||||
image: node:lts
|
image: node:lts
|
||||||
|
environment:
|
||||||
|
NODE_ENV: production
|
||||||
commands:
|
commands:
|
||||||
|
- npm install vue@next
|
||||||
|
- npm install -g @vue/cli
|
||||||
- npm install
|
- npm install
|
||||||
- npm run build
|
- npm run build
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,11 @@
|
||||||
|
module.exports = {
|
||||||
|
productionSourceMap: false,
|
||||||
|
configureWebpack: {
|
||||||
|
optimization: {
|
||||||
|
splitChunks: {
|
||||||
|
minSize: 10000,
|
||||||
|
maxSize: 250000
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in New Issue