mirror of
https://github.com/pelican-dev/panel.git
synced 2025-05-28 11:34:45 +02:00
Fix animations being nuked on production compilation
This commit is contained in:
parent
074a929315
commit
941c585c73
@ -45,6 +45,10 @@ const productionPlugins = [
|
||||
path.join(__dirname, 'resources/assets/scripts/**/*.vue'),
|
||||
path.join(__dirname, 'resources/themes/pterodactyl/**/*.blade.php'),
|
||||
]),
|
||||
// Don't let PurgeCSS remove classes ending with -enter or -leave-active
|
||||
// They're used by Vue transitions and are therefore not specifically defined
|
||||
// in any of the files are are checked by PurgeCSS.
|
||||
whitelistPatterns: [/-enter$/, /-leave-active$/],
|
||||
extractors: [
|
||||
{
|
||||
extractor: TailwindExtractor,
|
||||
|
Loading…
x
Reference in New Issue
Block a user