File tree Expand file tree Collapse file tree 4 files changed +370
-311
lines changed Expand file tree Collapse file tree 4 files changed +370
-311
lines changed Original file line number Diff line number Diff line change @@ -7,6 +7,18 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77
88## [ Unreleased]
99
10+ ## [ 0.4.0] - 2021-06-05
11+
12+ ### Updated
13+
14+ - [ node-sass] ( https://github.com/sass/node-sass/releases/tag/v6.0.0 ) to v6.0.0
15+ - [ minify] ( https://github.com/coderaiser/minify/releases/tag/v7.0.2 ) to v7.0.2
16+ - [ purgecss] ( https://github.com/FullHuman/purgecss/releases/tag/v4.0.0 ) to v4.0.3
17+
18+ ### Fixed
19+
20+ - ` purge ` config value now defaults to ` false `
21+
1022## [ 0.3.1] - 2020-09-10
1123
1224### Added
@@ -56,7 +68,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
5668- Developers can disable ` purgeCSS `
5769- CLI consumes user provided config file
5870
59- [ unreleased ] : https://github.com/codewithkyle/cssmonster/compare/v0.3.0...HEAD
71+ [ unreleased ] : https://github.com/codewithkyle/cssmonster/compare/v0.4.0...HEAD
72+ [ 0.4.0 ] : https://github.com/codewithkyle/cssmonster/compare/v0.3.1...v0.4.0
6073[ 0.3.0 ] : https://github.com/codewithkyle/cssmonster/compare/v0.2.1...v0.3.0
6174[ 0.2.1 ] : https://github.com/codewithkyle/cssmonster/compare/v0.2.0...v0.2.1
6275[ 0.2.0 ] : https://github.com/codewithkyle/cssmonster/compare/v0.1.1...v0.2.0
Original file line number Diff line number Diff line change @@ -52,7 +52,7 @@ class CSSMonster {
5252 outDir : path . resolve ( cwd , "cssmonster" ) ,
5353 sources : [ path . resolve ( cwd , "src" ) ] ,
5454 minify : true ,
55- purge : true ,
55+ purge : false ,
5656 purgeCSS : null ,
5757 blacklist : [ ] ,
5858 include : [ ] ,
@@ -463,7 +463,7 @@ class CSSMonster {
463463 await this . normalizeCSS ( ) ;
464464
465465 /** PurgeCSS */
466- if ( this . config . purge ) {
466+ if ( this . config . purge && this . config . purgeCSS !== null ) {
467467 spinner . text = "Purging CSS" ;
468468 await this . commenceThePurge ( ) ;
469469 }
You can’t perform that action at this time.
0 commit comments