Minify JavaScript files with Terser.
$ npm install hexo-uglify --saveuglify:
exclude:
- "*.min.js"
mangle: true
# output:
# compress:- 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.