fly-uglify

2.1.1 • Public • Published

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

Dependents (0)

Package Sidebar

Install

npm i fly-uglify

Weekly Downloads

18

Version

2.1.1

License

MIT

Last publish

Collaborators

  • lukeed