Skip to content

Commit

Permalink
update build re. terser/terser#1153
Browse files Browse the repository at this point in the history
  • Loading branch information
natevw committed Feb 24, 2022
1 parent 609d40c commit 1a96e85
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -5,7 +5,7 @@
"main": "main.js",
"scripts": {
"test": "node tests/vv.js && node tests/ua.js",
"build": "npx terser simplify-ua.js check-ua.js --compress --toplevel --mangle reserved=['simplifyUserAgent'] --define window=true --safari10 --ie8 > simplify-user-agent.min.js"
"build": "npx terser simplify-ua.js check-ua.js --compress --comments /^!/ --toplevel --mangle reserved=['simplifyUserAgent'] --define window=true --safari10 --ie8 > simplify-user-agent.min.js"
},
"repository": {
"type": "git",
Expand Down

0 comments on commit 1a96e85

Please sign in to comment.