oliverdavies.uk/purgecss.config.js

9 lines
184 B
JavaScript

let glob = require('glob-all')
module.exports = {
defaultExtractor: content => content.match(/[\w-/:]+(?<!:)/g) || [],
paths: () => glob.sync([
'source/**/*.{md,twig}'
])
}