Skip to content

pdehaan/gulp-jsmin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gulp-jsmin

Build Status

minify js using gulp.

Install

Install with npm

npm install --save-dev gulp-jsmin

Example

var gulp = require('gulp');
var jsmin = require('gulp-jsmin');
var rename = require('gulp-rename');

gulp.task('default', function () {
	gulp.src('src/**/*.js')
		.pipe(jsmin())
		.pipe(rename({suffix: '.min'}))
		.pipe(gulp.dest('dist'));
});

API

jsmin()

jsmin()

License

MIT @chilijung

About

jsmin in gulp

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published