Minify JavaScript files with Terser.
npm install hexo-uglify

Minify JavaScript files.
`` bash`
$ npm install hexo-uglify --save
` yaml``
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.
[docs]: https://github.com/terser/terser#minify-options