mirror of
https://github.com/WilliamsNY/contain-element.git
synced 2024-11-23 14:14:10 -05:00
13 lines
294 B
JavaScript
13 lines
294 B
JavaScript
|
var gulp = require('gulp');
|
||
|
var ugly = require('gulp-uglify');
|
||
|
var concat = require('gulp-concat');
|
||
|
|
||
|
gulp.task('min', function() {
|
||
|
return gulp.src('contain-element.js')
|
||
|
.pipe(ugly())
|
||
|
.pipe(concat('contain-element.min.js'))
|
||
|
.pipe(gulp.dest('./'));
|
||
|
});
|
||
|
|
||
|
gulp.task('default', ['min']);
|