Add JS paths to PurgeCSS

This commit is contained in:
Oliver Davies 2018-09-05 17:44:34 +01:00
parent 57cca6b96b
commit 6c498e8031

View file

@ -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/],