james-uglify
James transformer for Uglify2.js
Last updated 7 years ago by pyykkis .
BSD · Repository · Original npm · Tarball · package.json
$ cnpm install james-uglify 
SYNC missed versions from official npm registry.

Synopsis

UglifyJS 2 transformer for James.js.

var james  = require('james'),
    uglify = require('james-uglify');

james.task('default', function() {

  james.files('src/**/*.js').forEach(function(file) {
    james.read(file)
      .transform(uglify)
      .write(process.stdout);
  });
});

API

uglify(options): Return a new UglifyJS 2 transformer. Available options are listed in Uglify documentation.

Current Tags

  • 0.1.0                                ...           latest (7 years ago)

1 Versions

  • 0.1.0                                ...           7 years ago
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (2)
Dev Dependencies (3)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |