Skip to content

Commit 5944852

Browse files
committed
Helps to run purgecss against actual files
1 parent 39f1392 commit 5944852

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

webpack.config.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@ if (isProduction) {
2727
plugins = plugins.concat([
2828
new PurgeCssPlugin({
2929
paths: glob.sync([
30-
path.join(__dirname, 'resources/scripts/**/*.ts'),
31-
path.join(__dirname, 'resources/themes/pterodactyl/**/*.blade.php'),
30+
path.join(__dirname, 'resources/scripts/**/*.tsx'),
31+
path.join(__dirname, 'resources/views/templates/**/*.blade.php'),
3232
]),
3333
whitelistPatterns: [/^xterm/],
3434
extractors: [

0 commit comments

Comments
 (0)