Split PurgeCSS configuration
This commit is contained in:
parent
0095f72d61
commit
595b9f74e6
2 changed files with 13 additions and 10 deletions
9
purgecss.config.js
Normal file
9
purgecss.config.js
Normal file
|
@ -0,0 +1,9 @@
|
|||
let glob = require('glob-all')
|
||||
|
||||
module.exports = {
|
||||
defaultExtractor: content => content.match(/[\w-/:]+(?<!:)/g) || [],
|
||||
paths: () => glob.sync([
|
||||
'assets/**/*.vue',
|
||||
'source/**/*.{md,twig}'
|
||||
])
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue