ngmin transformer for James.js
JavaScript
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
test
.gitignore
README.md
index.js
package.json

README.md

Synopsis

Angular pre-minification (ngmin) transformer for James.js.

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

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

API

ngmin(): Return Angular pre-minification transformer.