All Projects → sindresorhus → Gulp Ngmin

sindresorhus / Gulp Ngmin

[DEPRECATED] Pre-minify AngularJS apps with ngmin

Programming Languages

javascript
152645 projects - #8 most used programming language

Projects that are alternatives of or similar to Gulp Ngmin

Gulp Ftp
[DEPRECATED] Upload files to an FTP-server
Stars: ✭ 100 (+12.36%)
Mutual labels:  gulp, gulp-plugin, deprecated
gulp-recess
[DEPRECATED] Lint CSS and LESS with RECESS
Stars: ✭ 42 (-52.81%)
Mutual labels:  gulp, gulp-plugin, deprecated
gulp-convert-encoding
Plugin for gulp to convert files from one encoding to another.
Stars: ✭ 15 (-83.15%)
Mutual labels:  gulp, gulp-plugin
gulp-markdown-to-json
Parse Markdown and YAML → compile Markdown to HTML → wrap it all up in JSON
Stars: ✭ 76 (-14.61%)
Mutual labels:  gulp, gulp-plugin
Gulp Ruby Sass
Compile Sass to CSS with Ruby Sass
Stars: ✭ 476 (+434.83%)
Mutual labels:  gulp-plugin, deprecated
gulp-golang
gulp plugin for golang projects
Stars: ✭ 13 (-85.39%)
Mutual labels:  gulp, gulp-plugin
anyfs
Portable file system for Node
Stars: ✭ 17 (-80.9%)
Mutual labels:  gulp, gulp-plugin
Gulp Plugin Boilerplate
Boilerplate to kickstart creating Gulp plugins
Stars: ✭ 74 (-16.85%)
Mutual labels:  gulp, gulp-plugin
gulp-px2rem
This is a gulp plugin for node-px2rem.
Stars: ✭ 19 (-78.65%)
Mutual labels:  gulp, gulp-plugin
Gulp Jsonlint
🔍 jsonlint plugin for Gulp
Stars: ✭ 26 (-70.79%)
Mutual labels:  gulp, gulp-plugin
Gulp Angular Templatecache
Concatenates and registers AngularJS templates in the $templateCache.
Stars: ✭ 530 (+495.51%)
Mutual labels:  gulp, gulp-plugin
Generator Gulp Plugin Boilerplate
Scaffold out a Gulp plugin boilerplate
Stars: ✭ 46 (-48.31%)
Mutual labels:  gulp, gulp-plugin
gulp-iife
A Gulp plugin for wrapping JavaScript code in IIFEs.
Stars: ✭ 39 (-56.18%)
Mutual labels:  gulp, gulp-plugin
gulp-tinypng-compress
TinyPNG API wrapper for compressing PNG & JPG images
Stars: ✭ 49 (-44.94%)
Mutual labels:  gulp, gulp-plugin
gulp-yarn
Automatically install node modules using Yarn. 😻
Stars: ✭ 22 (-75.28%)
Mutual labels:  gulp, gulp-plugin
Gulp Shell
A handy command line interface for gulp
Stars: ✭ 474 (+432.58%)
Mutual labels:  gulp, gulp-plugin
Gulp Json Editor
A gulp plugin to edit JSON objects
Stars: ✭ 55 (-38.2%)
Mutual labels:  gulp, gulp-plugin
gulp-ava
Run AVA tests
Stars: ✭ 56 (-37.08%)
Mutual labels:  gulp, gulp-plugin
gulp-esbuild
gulp plugin for esbuild bundler
Stars: ✭ 39 (-56.18%)
Mutual labels:  gulp, gulp-plugin
Gulp Pug
Gulp plugin for compiling Pug templates
Stars: ✭ 512 (+475.28%)
Mutual labels:  gulp, gulp-plugin

Deprecated in favor of gulp-ng-annotate. Reasoning.


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

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected]