File tree Expand file tree Collapse file tree 2 files changed +5
-0
lines changed Expand file tree Collapse file tree 2 files changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -6,17 +6,21 @@ bucket=$1
66echo ::set-output name=current-version::$version
77
88aws s3api put-object --bucket $bucket --key " content/$version /cwr.js" --body build/assets/cwr.js --cache-control max-age=604800
9+ aws s3api put-object --bucket $bucket --key " content/$version /cwr.js.map" --body build/assets/cwr.js.map --cache-control max-age=604800
910aws s3api put-object --bucket $bucket --key " content/$version /LICENSE-THIRD-PARTY" --body LICENSE-THIRD-PARTY --cache-control max-age=604800
1011aws s3api put-object --bucket $bucket --key " content/$version /LICENSE" --body LICENSE --cache-control max-age=604800
1112
1213if [[ $version =~ ^[0-9]+\. [0-9]+\. [0-9]+$ ]]
1314then
1415 minorUpdate=$( echo $version | sed -En " s/^([0-9]+\.)[0-9]+\.[0-9]+/\1x/p" )
1516 aws s3api put-object --bucket $bucket --key " content/$minorUpdate /cwr.js" --body build/assets/cwr.js --cache-control max-age=7200
17+ aws s3api put-object --bucket $bucket --key " content/$minorUpdate /cwr.js.map" --body build/assets/cwr.js.map --cache-control max-age=7200
1618 aws s3api put-object --bucket $bucket --key " content/$minorUpdate /LICENSE-THIRD-PARTY" --body LICENSE-THIRD-PARTY --cache-control max-age=7200
1719 aws s3api put-object --bucket $bucket --key " content/$minorUpdate /LICENSE" --body LICENSE --cache-control max-age=7200
20+
1821 patchUpdate=$( echo $version | sed -En " s/^([0-9]+\.[0-9]+\.)[0-9]+/\1x/p" )
1922 aws s3api put-object --bucket $bucket --key " content/$patchUpdate /cwr.js" --body build/assets/cwr.js --cache-control max-age=7200
23+ aws s3api put-object --bucket $bucket --key " content/$patchUpdate /cwr.js.map" --body build/assets/cwr.js.map --cache-control max-age=7200
2024 aws s3api put-object --bucket $bucket --key " content/$patchUpdate /LICENSE-THIRD-PARTY" --body LICENSE-THIRD-PARTY --cache-control max-age=7200
2125 aws s3api put-object --bucket $bucket --key " content/$patchUpdate /LICENSE" --body LICENSE --cache-control max-age=7200
2226fi
Original file line number Diff line number Diff line change @@ -5,6 +5,7 @@ const TerserPlugin = require('terser-webpack-plugin');
55
66module . exports = merge ( common , {
77 mode : 'production' ,
8+ devtool : 'hidden-source-map' ,
89 optimization : {
910 minimizer : [
1011 new TerserPlugin ( {
You can’t perform that action at this time.
0 commit comments