Browse Source

DevDeps: uglify-js => terser

pull/562/head
Vitaly Puzrin 6 years ago
parent
commit
337ea1ec1b
  1. 2
      Makefile
  2. 2
      package.json

2
Makefile

@ -90,7 +90,7 @@ browserify:
browserify ./ -s markdownit \ browserify ./ -s markdownit \
) > dist/markdown-it.js ) > dist/markdown-it.js
# Minify # Minify
uglifyjs dist/markdown-it.js -b beautify=false,ascii_only=true -c -m \ terser dist/markdown-it.js -b beautify=false,ascii_only=true -c -m \
--preamble "/*! ${NPM_PACKAGE} ${NPM_VERSION} ${GITHUB_PROJ} @license MIT */" \ --preamble "/*! ${NPM_PACKAGE} ${NPM_VERSION} ${GITHUB_PROJ} @license MIT */" \
> dist/markdown-it.min.js > dist/markdown-it.min.js

2
package.json

@ -59,6 +59,6 @@
"ndoc": "^5.0.0", "ndoc": "^5.0.0",
"stylus": "~0.54.2", "stylus": "~0.54.2",
"supertest": "^3.0.0", "supertest": "^3.0.0",
"uglify-js": "^3.0.18" "terser": "^3.16.1"
} }
} }

Loading…
Cancel
Save