Skip to content

Minify JavaScript files with UglifyJS.

License

Notifications You must be signed in to change notification settings

hexojs/hexo-uglify

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

hexo-uglify

NPM version CI Coverage Status

Minify JavaScript files with Terser.

Installation

$ npm install hexo-uglify --save

Options

uglify:
  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.