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()
.purgeCss({
globs: [
path.join(__dirname, 'assets/js/**/*.{js,vue}'),
path.join(__dirname, 'output_*/**/*.html'),
],
whitelistPatterns: [/language/, /hljs/],