Skip to content

Commit

Permalink
update uglify
Browse files Browse the repository at this point in the history
and remove now-default keep_fargs=false
  • Loading branch information
erikdesjardins committed Sep 17, 2021
1 parent d84ef62 commit 284fa1c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ sed -r 's/\(function\(\)\{// ; s/\}\)\(\);//' ./build/snudown_oneline.js > ./bui
./node_modules/uglify-js/bin/uglifyjs ./build/snudown_nowrapper.js -o ./build/snudown_uglify.js \
--comments \
--toplevel \
-c negate_iife=false,keep_fargs=false,passes=100,pure_getters,unsafe \
-c negate_iife=false,passes=100,pure_getters,unsafe \
-m \
--mangle-props reserved=['markdown','markdownWiki','nofollow','target','tocIdPrefix','enableToc'] \
-b beautify=false,wrap_iife \
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"url": "https://github.com/erikdesjardins/snudown-js.git"
},
"devDependencies": {
"uglify-js": "3.10.4"
"uglify-js": "3.14.2"
},
"license": "MIT",
"dependencies": {
Expand Down

0 comments on commit 284fa1c

Please sign in to comment.