From 59448520fe0fe4ac3bd2728a789b41bb7a5d87e6 Mon Sep 17 00:00:00 2001 From: Dane Everitt Date: Sun, 15 Dec 2019 13:52:57 -0800 Subject: [PATCH] Helps to run purgecss against actual files --- webpack.config.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/webpack.config.js b/webpack.config.js index 17f337159..7266ef700 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -27,8 +27,8 @@ if (isProduction) { plugins = plugins.concat([ new PurgeCssPlugin({ paths: glob.sync([ - path.join(__dirname, 'resources/scripts/**/*.ts'), - path.join(__dirname, 'resources/themes/pterodactyl/**/*.blade.php'), + path.join(__dirname, 'resources/scripts/**/*.tsx'), + path.join(__dirname, 'resources/views/templates/**/*.blade.php'), ]), whitelistPatterns: [/^xterm/], extractors: [