diff --git a/Makefile b/Makefile index 3dd1f30..278944a 100644 --- a/Makefile +++ b/Makefile @@ -90,7 +90,7 @@ browserify: browserify ./ -s markdownit \ ) > dist/markdown-it.js # 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 */" \ > dist/markdown-it.min.js diff --git a/package.json b/package.json index a116022..72fb693 100644 --- a/package.json +++ b/package.json @@ -59,6 +59,6 @@ "ndoc": "^5.0.0", "stylus": "~0.54.2", "supertest": "^3.0.0", - "uglify-js": "^3.0.18" + "terser": "^3.16.1" } }