hexo-uglify

Minify JavaScript files with Terser.


Keywords
hexo, filter, terser
License
MIT
Install
npm install hexo-uglify@1.0.0

Documentation

hexo-uglify

Build Status NPM version

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.