forked from Alex/Pterodactyl-Panel
Helps to run purgecss against actual files
This commit is contained in:
parent
39f1392eee
commit
59448520fe
@ -27,8 +27,8 @@ if (isProduction) {
|
|||||||
plugins = plugins.concat([
|
plugins = plugins.concat([
|
||||||
new PurgeCssPlugin({
|
new PurgeCssPlugin({
|
||||||
paths: glob.sync([
|
paths: glob.sync([
|
||||||
path.join(__dirname, 'resources/scripts/**/*.ts'),
|
path.join(__dirname, 'resources/scripts/**/*.tsx'),
|
||||||
path.join(__dirname, 'resources/themes/pterodactyl/**/*.blade.php'),
|
path.join(__dirname, 'resources/views/templates/**/*.blade.php'),
|
||||||
]),
|
]),
|
||||||
whitelistPatterns: [/^xterm/],
|
whitelistPatterns: [/^xterm/],
|
||||||
extractors: [
|
extractors: [
|
||||||
|
Loading…
Reference in New Issue
Block a user