11 lines
265 B
JavaScript
11 lines
265 B
JavaScript
|
var gulp = require('gulp');
|
||
|
var cssmin = require('./');
|
||
|
var rename = require('gulp-rename');
|
||
|
|
||
|
gulp.task('default', function () {
|
||
|
gulp.src('./sample/type.css')
|
||
|
.pipe(cssmin())
|
||
|
.pipe(rename({suffix: '.min'}))
|
||
|
.pipe(gulp.dest('./sample'));
|
||
|
});
|