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
image: node:lts
commands:
- npm run build
- npm run build -- --modern
- tar -czf dist.tar.gz ./dist/*
- name: release

View File

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