Browse Source

Change build mode

20230320
MengYX 5 years ago
parent
commit
a483594c4b
No known key found for this signature in database GPG Key ID: E63F9C7303E8F604
  1. 2
      .drone.yml
  2. 2
      vue.config.js

2
.drone.yml

@ -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

2
vue.config.js

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