Skip to content
This repository has been archived by the owner on Nov 16, 2023. It is now read-only.

Commit

Permalink
Merge pull request #1 from MicrosoftDocs/security/WS-2019-0017
Browse files Browse the repository at this point in the history
Use gulp-clean-css
  • Loading branch information
tpetchel authored Oct 30, 2019
2 parents 6b46cc1 + 87ff5c7 commit 50189fa
Show file tree
Hide file tree
Showing 4 changed files with 58 additions and 438 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 50189fa

Please sign in to comment.