Add build process to compile and minify less files
This commit is contained in:
parent
56cca63b2d
commit
b2e741bffa
6 changed files with 4352 additions and 2 deletions
10
Website/gulpfile.js
Normal file
10
Website/gulpfile.js
Normal file
|
@ -0,0 +1,10 @@
|
|||
var gulp = require("gulp"),
|
||||
less = require("gulp-less"),
|
||||
cleanCss = require("gulp-clean-css");
|
||||
|
||||
gulp.task("default", function () {
|
||||
return gulp.src('wwwroot/css/*.less')
|
||||
.pipe(less())
|
||||
.pipe(cleanCss())
|
||||
.pipe(gulp.dest('wwwroot/css'));
|
||||
});
|
Loading…
Add table
Add a link
Reference in a new issue