hexo-uglify
v2.0.0
Published
Minify JavaScript files with Terser.
Downloads
579
Readme
hexo-uglify
Minify JavaScript files.
Installation
$ npm install hexo-uglify --save
Options
uglify:
mangle: true
output:
compress:
exclude:
- *.min.js
- exclude: Exclude files. Use glob expressions for path matching.
- mangle: Mangle file names.
- output: Output options.
- compress: Compress options.
Refer to the docs for more options and details.