Skip to content

Commit

Permalink
remove purifycss (#1480)
Browse files Browse the repository at this point in the history
  • Loading branch information
levfishbluefish authored Sep 6, 2019
1 parent 8f32c17 commit e3df94c
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 17 deletions.
32 changes: 16 additions & 16 deletions gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,22 +54,22 @@ gulp.task('styles', function () {
.pipe($.if(dev, $.sourcemaps.init()))
.pipe($.less())
.pipe($.autoprefixer())
.pipe($.purifycss([dest.html], {
whitelist: [
'.affix',
'.alert',
'.close',
'.collaps',
'.fade',
'.has',
'.help',
'.in',
'.modal',
'.open',
'.popover',
'.tooltip'
]
}))
// .pipe($.purifycss([dest.html], {
// whitelist: [
// '.affix',
// '.alert',
// '.close',
// '.collaps',
// '.fade',
// '.has',
// '.help',
// '.in',
// '.modal',
// '.open',
// '.popover',
// '.tooltip'
// ]
// }))
.pipe($.cleanCss({ compatibility: 'ie8' }))
.pipe($.rename('styles.css'))
.pipe($.if(dev, $.sourcemaps.write()))
Expand Down
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,6 @@
"gulp-load-plugins": "1.6.0",
"gulp-minify": "3.1.0",
"gulp-plumber": "1.2.1",
"gulp-purifycss": "0.2.0",
"gulp-rename": "1.4.0",
"gulp-resource-hints": "0.2.1",
"gulp-size": "3.0.0",
Expand Down

0 comments on commit e3df94c

Please sign in to comment.