npm stats
  • Search
  • About
  • Repo
  • Sponsor
  • more
    • Search
    • About
    • Repo
    • Sponsor

Made by Antonio Ramirez

@taskr/uglify

1.1.0

@lukeed

npmHomeRepoSnykSocket
Downloads:3
$ npm install @taskr/uglify
DailyWeeklyMonthlyYearly

@taskr/uglify npm

UglifyJS plugin for Taskr.

Install

$ npm install --save-dev @taskr/uglify

API

.uglify(options)

Check out the UglifyJS documentation to see the available options.

Usage

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

Support

Any issues or questions can be sent to the Taskr monorepo.

Please be sure to specify that you are using @taskr/uglify.

License

MIT © Luke Edwards