Browse Source

Update uglify-js to 3.x

pull/383/head
Alex Kocharin 8 years ago
parent
commit
a1b64e6f57
  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 \ uglifyjs 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": "^2.7.3" "uglify-js": "^3.0.18"
} }
} }

Loading…
Cancel
Save