hexo-uglify
Minify JavaScript files with UglifyJS.
Last updated 6 months ago by curben .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install hexo-uglify 
SYNC missed versions from official npm registry.

hexo-uglify

Build Status NPM version

Minify JavaScript files.

Installation

$ npm install hexo-uglify --save

Options

uglify:
  mangle: true
  output:
  compress:
  exclude:
    - *.min.js
  es6: false
  • mangle: Mangle file names (part of uglifyjs/terser's options). Default is true
  • output: Output options (part of uglifyjs/terser's options)
  • compress: Compress options (part of uglifyjs/terser's options)
  • exclude: Exclude files. Use glob expressions for path matching.
  • es6: Enable es6 compression. Default is false
    • When enabled, hexo-uglify will use terser as compressor, otherwise uglifyjs will be used.

Refer to the docs for more options and details.

Current Tags

  • 1.1.0                                ...           latest (6 months ago)

7 Versions

  • 1.1.0                                ...           6 months ago
  • 1.0.0                                ...           9 months ago
  • 0.0.5                                ...           3 years ago
  • 0.0.4                                ...           3 years ago
  • 0.0.3                                ...           5 years ago
  • 0.0.2                                ...           5 years ago
  • 0.0.1                                ...           5 years ago
Downloads
Today 0
This Week 2
This Month 2
Last Day 2
Last Week 8
Last Month 25
Dependencies (3)
Dev Dependencies (5)
Dependents (0)
None

Copyright 2014 - 2017 © taobao.org |