Change build mode

This commit is contained in:
MengYX 2019-12-07 14:32:28 +08:00
parent 1ede0f3193
commit 4ec1847682
2 changed files with 2 additions and 2 deletions

View File

@ -26,7 +26,7 @@ steps:
- name: build - name: build
image: node:lts image: node:lts
commands: commands:
- npm run build - npm run build -- --modern
- tar -czf dist.tar.gz ./dist/* - tar -czf dist.tar.gz ./dist/*
- name: release - name: release

View File

@ -1,4 +1,4 @@
module.exports = { module.exports = {
publicPath: '', publicPath: '',
productionSourceMap: false productionSourceMap: true
}; };