Compare commits
3 Commits
e6352b3a8d
...
974ee10dc2
Author | SHA1 | Date | |
---|---|---|---|
974ee10dc2 | |||
986b560265 | |||
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
|
||||||
|
|
||||||
|
11
vue.config.js
Normal file
11
vue.config.js
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
module.exports = {
|
||||||
|
productionSourceMap: false,
|
||||||
|
configureWebpack: {
|
||||||
|
optimization: {
|
||||||
|
splitChunks: {
|
||||||
|
minSize: 10000,
|
||||||
|
maxSize: 250000
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user