Skip to content

leonidas/james-uglify

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Synopsis

UglifyJS 2 transformer for James.js.

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

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

  james.list('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.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published