Skip to content

Latest commit

 

History

History
43 lines (31 loc) · 935 Bytes

readme.md

File metadata and controls

43 lines (31 loc) · 935 Bytes

fly-uglify

UglifyJS plugin for Fly.

Install

npm install --save-dev fly-uglify

API

.uglify(options)

Check out the UglifyJS documentation to see the available options.

Usage

exports.build = function * () {
  yield this.source('src/**/*.uglify')
    .uglify({
      compress: {
        drop_console: true,
        join_vars: true
      }
    })
    .target('dist');
}

License

MIT © FlyJS