Skip to content

Database governance built for humans and agents — controlling changes and access across every major database.

whitelist [/^w-/, /^pl-/] from purgecss because BBTab and BBOutline uses dynamic style

天舟4fb95ec3c8eb
diff --git a/frontend/tailwind.config.js b/frontend/tailwind.config.js
index 794012797d..53dfa448ea 100644
--- a/frontend/tailwind.config.js
+++ b/frontend/tailwind.config.js
@@ -6,7 +6,12 @@ module.exports = {
// removeDeprecatedGapUtilities: true,
// purgeLayersByDefault: true,
},
- purge: ["./index.html", "./src/**/*.{vue,js,ts,jsx,tsx}"],
+ purge: {
+ content: ["./index.html", "./src/**/*.{vue,js,ts,jsx,tsx}"],
+ // "w-xxx" is used by BBTab
+ // "pl-xxx" is used by BBOutline
+ safelist: [/^w-/, /^pl-/],
+ },
theme: {
extend: {
colors: {