Minify JavaScript files with UglifyJS.
JavaScript
Switch branches/tags
Clone or download
Latest commit 921df1f Nov 18, 2017
Permalink
Failed to load latest commit information.
lib Update readme Feb 1, 2015
test Remove test Jun 2, 2017
.gitignore First commit Jan 27, 2015
.jshintrc First commit Jan 27, 2015
.npmignore First commit Jan 27, 2015
.travis.yml Update .travis.yml Jun 2, 2017
LICENSE First commit Jan 27, 2015
README.md Update README.md Jun 2, 2017
gulpfile.js First commit Jan 27, 2015
index.js Add exclude setting Feb 1, 2015
package.json 0.0.5 Nov 18, 2017

README.md

hexo-uglify

Build Status

Minify JavaScript files with UglifyJS.

Installation

$ npm install hexo-uglify --save

Options

uglify:
  mangle: true
  output:
  compress:
  exclude: 
    - *.min.js
  • mangle: Mangle file names
  • output: Output options
  • compress: Compress options
  • exclude: Exclude files