Add JS paths to PurgeCSS
This commit is contained in:
parent
57cca6b96b
commit
6c498e8031
1 changed files with 1 additions and 0 deletions
|
@ -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/],
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue