Change build mode

This commit is contained in:
MengYX 2019-12-07 14:32:28 +08:00
parent 014fe5ae26
commit a483594c4b
No known key found for this signature in database
GPG Key ID: E63F9C7303E8F604
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
}; };