Open hsingh23 opened 8 years ago
var nano = require('gulp-cssnano'); /** * Processes less files into CSS files */ gulp.task('less', ['clean'], function() { return gulp .src([ './src/main/less/screen.less', './src/main/less/print.less', './src/main/less/reset.less' ]) .pipe(less()) .pipe(concat('min.css')) .pipe(nano()) .on('error', log) .pipe(gulp.dest('./src/main/html/css/')) .pipe(connect.reload()); });
and use min.css in the project
and use min.css in the project