Ready to take your JavaScript development to the next level? Meet npm Enterprise - the ultimate in enterprise JavaScript. Learn more »

This package has been deprecated

Author message:

Deprecated in favor of gulp-ng-annotate: https://github.com/Kagami/gulp-ng-annotate - Reasoning: https://github.com/btford/ngmin/issues/93

gulp-ngmin

0.3.0 • Public • Published

gulp-ngmin Build Status

Pre-minify AngularJS apps with ngmin

Issues with the output should be reported on the ngmin issue tracker.

Install

$ npm install --save-dev gulp-ngmin

Usage

var gulp = require('gulp');
var ngmin = require('gulp-ngmin');
 
gulp.task('default', function () {
    return gulp.src('src/app.js')
        .pipe(ngmin({dynamic: true}))
        .pipe(gulp.dest('dist'));
});

API

ngmin(options)

options.dynamic

Type: boolean
Default: false

Enables the dynamic mode.

License

MIT © Sindre Sorhus

install

npm i gulp-ngmin

Downloadsweekly downloads

983

version

0.3.0

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability