Browse Source

Remove Source Map in production

20230320
MengYX 5 years ago
parent
commit
a72804544f
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

@ -45,8 +45,6 @@ steps:
secret_key:
from_secret: aws_secret_access_key
source: dist/**/*
exclude:
- "**/*.map"
strip_prefix: dist/
target: /public
path_style: true

2
vue.config.js

@ -1,6 +1,6 @@
module.exports = {
publicPath: '',
productionSourceMap: true,
productionSourceMap: false,
pwa: {
workboxOptions: {
skipWaiting: true

Loading…
Cancel
Save