fix: add toast classes to Bootstrap subset safelist

The toast from IP View Limit plugin uses Bootstrap classes that weren't
being detected because PurgeCSS only scans theme files, not plugins.

Added to safelist: toast-container, toast, toast-body, position-fixed,
bottom-0, end-0, text-dark, bg-warning, btn-close, m-auto

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
FrankZamora
2025-11-29 11:34:59 -06:00
parent 8a9c62e17e
commit 19b6c38fbf
2 changed files with 16 additions and 4 deletions

File diff suppressed because one or more lines are too long

View File

@@ -171,6 +171,18 @@ async function buildBootstrapSubset() {
'w-auto', 'w-auto',
'h-100', 'h-100',
'h-auto', 'h-auto',
// Toast classes (plugin IP View Limit)
'toast-container',
'toast',
'toast-body',
'position-fixed',
'bottom-0',
'end-0',
'text-dark',
'bg-warning',
'btn-close',
'm-auto',
], ],
deep: [ deep: [