Skip to content

Commit

Permalink
chore: remove --source-map option from build script
Browse files Browse the repository at this point in the history
  • Loading branch information
polygonplanet committed Jun 7, 2023
1 parent f092635 commit b963656
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions encoding.min.js

Large diffs are not rendered by default.

1 change: 0 additions & 1 deletion encoding.min.js.map

This file was deleted.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"scripts": {
"build": "npm run compile && npm run minify",
"compile": "browserify src/index.js -o encoding.js -s Encoding -p [ bannerify --file src/banner.js ] --no-bundle-external --bare",
"minify": "uglifyjs encoding.js -o encoding.min.js --source-map \"url='encoding.min.js.map'\" --comments -c -m -b ascii_only=true,beautify=false",
"minify": "uglifyjs encoding.js -o encoding.min.js --comments -c -m -b ascii_only=true,beautify=false",
"test": "eslint . && npm run build && mocha tests/test",
"watch": "watchify src/index.js -o encoding.js -s Encoding -p [ bannerify --file src/banner.js ] --no-bundle-external --bare --poll=300 -v"
},
Expand Down

0 comments on commit b963656

Please sign in to comment.