From 6c498e8031419d0077ae68dfad6509fbe25a23f1 Mon Sep 17 00:00:00 2001 From: Oliver Davies Date: Wed, 5 Sep 2018 17:44:34 +0100 Subject: [PATCH] Add JS paths to PurgeCSS --- webpack.mix.js | 1 + 1 file changed, 1 insertion(+) diff --git a/webpack.mix.js b/webpack.mix.js index 05ac2386..5a73330b 100644 --- a/webpack.mix.js +++ b/webpack.mix.js @@ -13,6 +13,7 @@ mix.disableNotifications() .tailwind() .purgeCss({ globs: [ + path.join(__dirname, 'assets/js/**/*.{js,vue}'), path.join(__dirname, 'output_*/**/*.html'), ], whitelistPatterns: [/language/, /hljs/],