Skip to content

Commit

Permalink
Added: Whitelist option for purgeCss
Browse files Browse the repository at this point in the history
  • Loading branch information
bymayo committed Aug 19, 2020
1 parent a3b89ef commit c12dcd0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -216,6 +216,7 @@ function purgeCss() {
package.paths.templates + "**/*.{html,twig,vue}",
package.paths.public + package.paths.dist.base + "**/*.{js}"
],
whitelist: package.purgeCss.whitelist,
whitelistPatterns: whitelistPatterns,
whitelistPatternsChildren: whitelistPatterns,
extractors: [
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@
]
},
"purgeCss": {
"whitelist": [],
"whitelistPatterns": []
},
"cssDependencies": [],
Expand Down

0 comments on commit c12dcd0

Please sign in to comment.