Updated indents in the gulpfile.

This commit is contained in:
Peter Deltchev 2015-10-24 19:43:37 -07:00
parent b00982cd61
commit f502cb9665

View file

@ -118,7 +118,10 @@ gulp.task("styles-app", function() {
? gulp.src(includedStyles, {base: "resources/assets/styles"}) ? gulp.src(includedStyles, {base: "resources/assets/styles"})
.pipe(plug.plumber(plumberOptions)) .pipe(plug.plumber(plumberOptions))
.pipe(plug.if(/\.less/, plug.less())) .pipe(plug.if(/\.less/, plug.less()))
.pipe(plug.autoprefixer({browsers: ["last 2 versions"], cascade: false})) .pipe(plug.autoprefixer({
browsers: ["last 2 versions"],
cascade: false
}))
.pipe(plug.concat("app.css")) .pipe(plug.concat("app.css"))
.pipe(plug.minifyCss()) .pipe(plug.minifyCss())
.pipe(gulp.dest("public/build/styles")) .pipe(gulp.dest("public/build/styles"))
@ -143,7 +146,10 @@ gulp.task("styles-embed", function() {
return gulp.src(["resources/assets/styles/embed.less"], {base: "resources/assets/styles"}) return gulp.src(["resources/assets/styles/embed.less"], {base: "resources/assets/styles"})
.pipe(plug.less()) .pipe(plug.less())
.pipe(plug.autoprefixer({browsers: ["last 2 versions"], cascade: false})) .pipe(plug.autoprefixer({
browsers: ["last 2 versions"],
cascade: false
}))
.pipe(plug.concat("embed.css")) .pipe(plug.concat("embed.css"))
.pipe(plug.minifyCss()) .pipe(plug.minifyCss())
.pipe(gulp.dest("public/build/styles")); .pipe(gulp.dest("public/build/styles"));