Add JS paths to PurgeCSS
This commit is contained in:
parent
57cca6b96b
commit
6c498e8031
|
@ -13,6 +13,7 @@ mix.disableNotifications()
|
||||||
.tailwind()
|
.tailwind()
|
||||||
.purgeCss({
|
.purgeCss({
|
||||||
globs: [
|
globs: [
|
||||||
|
path.join(__dirname, 'assets/js/**/*.{js,vue}'),
|
||||||
path.join(__dirname, 'output_*/**/*.html'),
|
path.join(__dirname, 'output_*/**/*.html'),
|
||||||
],
|
],
|
||||||
whitelistPatterns: [/language/, /hljs/],
|
whitelistPatterns: [/language/, /hljs/],
|
||||||
|
|
Reference in a new issue