Skip to content

Commit

Permalink
Merge pull request MicrosoftDocs#636 from MicrosoftDocs/security/WS-2…
Browse files Browse the repository at this point in the history
…019-0017

Use gulp-clean-css
  • Loading branch information
tpetchel committed Oct 14, 2019
2 parents 44f4471 + cb315af commit 435520f
Show file tree
Hide file tree
Showing 4 changed files with 56 additions and 436 deletions.
2 changes: 1 addition & 1 deletion Tailspin.SpaceGame.Web/wwwroot/css/site.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
const gulp = require("gulp"),
rimraf = require("rimraf"),
concat = require("gulp-concat"),
cssmin = require("gulp-cssmin"),
cleanCSS = require("gulp-clean-css"),
uglify = require("gulp-uglify");

const paths = {
Expand Down Expand Up @@ -32,7 +32,7 @@ gulp.task("min:js", () => {
gulp.task("min:css", () => {
return gulp.src([paths.css, "!" + paths.minCss])
.pipe(concat(paths.concatCssDest))
.pipe(cssmin())
.pipe(cleanCSS())
.pipe(gulp.dest("."));
});

Expand Down
Loading

0 comments on commit 435520f

Please sign in to comment.