Simplify PurgeCSS configuration
This commit is contained in:
parent
34b06c2e34
commit
e1da73aea7
|
@ -15,10 +15,7 @@ mix.js([
|
||||||
], 'source/dist/js/app.js')
|
], 'source/dist/js/app.js')
|
||||||
|
|
||||||
mix.purgeCss({
|
mix.purgeCss({
|
||||||
globs: [
|
folders: ['assets', 'output_*'],
|
||||||
path.join(__dirname, 'assets/js/**/*.{js,vue}'),
|
|
||||||
path.join(__dirname, 'output_*/**/*.html'),
|
|
||||||
],
|
|
||||||
whitelistPatterns: [/language/, /hljs/],
|
whitelistPatterns: [/language/, /hljs/],
|
||||||
whitelistPatternsChildren: [/^markdown$/]
|
whitelistPatternsChildren: [/^markdown$/]
|
||||||
});
|
});
|
||||||
|
|
Reference in a new issue