Skip to content

taskrjs/fly-uglify

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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