Remove Source Map in production

This commit is contained in:
MengYX committed 2020-03-04 10:00:18 +08:00
1 parent dc8c126cd3
commit 74f8cc8d2a
2 files changed
+1 -3

No files matched your search

-2
View File
@@ -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
+1 -1
View File
@@ -1,6 +1,6 @@
module.exports = {
publicPath: '',
productionSourceMap: true,
productionSourceMap: false,
pwa: {
workboxOptions: {
skipWaiting: true