JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 875
  • Score
    100M100P100Q7113F
  • License MIT

Pre-minify AngularJS apps with ngmin

Package Exports

  • gulp-ngmin

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (gulp-ngmin) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

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