try this
This commit is contained in:
parent
8a60427c6d
commit
90bc983a52
1 changed files with 2 additions and 1 deletions
|
@ -6,7 +6,8 @@ module.exports = (ctx) => ({
|
||||||
require('autoprefixer'),
|
require('autoprefixer'),
|
||||||
require('@fullhuman/postcss-purgecss')({
|
require('@fullhuman/postcss-purgecss')({
|
||||||
content: [
|
content: [
|
||||||
path.resolve(__dirname, 'templates/**/*.html')
|
path.resolve(__dirname, 'templates/**/*.html'),
|
||||||
|
path.resolve(__dirname, 'templates/*.html')
|
||||||
],
|
],
|
||||||
defaultExtractor: content => content.match(/[A-Za-z0-9-_:/]+/g) || []
|
defaultExtractor: content => content.match(/[A-Za-z0-9-_:/]+/g) || []
|
||||||
})
|
})
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue