This commit is contained in:
parent
dfb32be6e8
commit
6d0250bbef
@ -5,11 +5,9 @@ name: deploy
|
|||||||
steps:
|
steps:
|
||||||
- name: build
|
- name: build
|
||||||
image: node:lts
|
image: node:lts
|
||||||
environment:
|
|
||||||
NODE_ENV: production
|
|
||||||
commands:
|
commands:
|
||||||
- npm install
|
- npm install
|
||||||
- npm run build
|
- npm run build --production
|
||||||
|
|
||||||
- name: deploy
|
- name: deploy
|
||||||
image: alpine
|
image: alpine
|
||||||
|
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