config: update settings purgecss

This commit is contained in:
Henk Verlinde 2021-03-18 16:09:27 +01:00
parent cfed05efaf
commit 6714254039
1 changed files with 4 additions and 0 deletions

View File

@ -7,6 +7,8 @@ module.exports = {
autoprefixer(),
purgecss({
content: [
'./node_modules/@hyas/doks/layouts/**/*.html',
'./node_modules/@hyas/doks/content/**/*.md',
'./layouts/**/*.html',
'./content/**/*.md',
],
@ -19,6 +21,8 @@ module.exports = {
'th',
'td',
...whitelister([
'./node_modules/@hyas/doks/assets/scss/common/_variables.scss',
'./node_modules/@hyas/doks/assets/scss/components/_code.scss',
'./assets/scss/components/_doks.scss',
'./assets/scss/components/_code.scss',
'./assets/scss/components/_search.scss',