File tree Expand file tree Collapse file tree 3 files changed +11
-6
lines changed Expand file tree Collapse file tree 3 files changed +11
-6
lines changed Original file line number Diff line number Diff line change 54
54
"strip-bom" : " ^3.0.0" ,
55
55
"stylus" : " ^0.54.5" ,
56
56
"tar" : " ^4.4.1" ,
57
- "uglify-js" : " ^3.0.7 " ,
57
+ "uglify-js" : " ^3.3.20 " ,
58
58
"update-notifier" : " ^2.3.0"
59
59
},
60
60
"peerDependencies" : {
Original file line number Diff line number Diff line change @@ -18,6 +18,7 @@ export async function minifyJsFile(inputPath: string): Promise<string> {
18
18
19
19
const result = minify ( inputFileBuffer . toString ( ) , {
20
20
sourceMap : {
21
+ includeSources : true ,
21
22
content : JSON . parse ( inputSourceMapBuffer . toString ( ) ) ,
22
23
url : basename ( sourcemapOut )
23
24
} ,
Original file line number Diff line number Diff line change @@ -758,10 +758,14 @@ commander@2.11.0:
758
758
version "2.11.0"
759
759
resolved "https://registry.yarnpkg.com/commander/-/commander-2.11.0.tgz#157152fd1e7a6c8d98a5b715cf376df928004563"
760
760
761
- commander@^2.12.0, commander@^2.9.0, commander@~2.12.1 :
761
+ commander@^2.12.0, commander@^2.9.0 :
762
762
version "2.12.2"
763
763
resolved "https://registry.yarnpkg.com/commander/-/commander-2.12.2.tgz#0f5946c427ed9ec0d91a46bb9def53e54650e555"
764
764
765
+ commander@~2.15.0 :
766
+ version "2.15.1"
767
+ resolved "https://registry.yarnpkg.com/commander/-/commander-2.15.1.tgz#df46e867d0fc2aec66a34662b406a9ccafff5b0f"
768
+
765
769
commenting@1.0.5 :
766
770
version "1.0.5"
767
771
resolved "https://registry.yarnpkg.com/commenting/-/commenting-1.0.5.tgz#3104d542cac8a4f27b3d51438f4b80431fe4526b"
@@ -3718,11 +3722,11 @@ uglify-js@^2.6:
3718
3722
optionalDependencies :
3719
3723
uglify-to-browserify "~1.0.0"
3720
3724
3721
- uglify-js@^3.0.7 :
3722
- version "3.2.1 "
3723
- resolved "https://registry.yarnpkg.com/uglify-js/-/uglify-js-3.2.1 .tgz#d6427fd45a25fefc5d196689c0c772a6915e10fe "
3725
+ uglify-js@^3.3.20 :
3726
+ version "3.3.20 "
3727
+ resolved "https://registry.yarnpkg.com/uglify-js/-/uglify-js-3.3.20 .tgz#dc8bdee7d454c7d31dddc36f922d170bfcee3a0a "
3724
3728
dependencies :
3725
- commander "~2.12.1 "
3729
+ commander "~2.15.0 "
3726
3730
source-map "~0.6.1"
3727
3731
3728
3732
uglify-to-browserify@~1.0.0 :
You can’t perform that action at this time.
0 commit comments