@pathscale/rsbuild-plugin-ui-css-purge 0.9.10 → 0.9.12

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,11 @@
1
+ /**
2
+ * Lib-side purge database generator.
3
+ *
4
+ * Reads all `*.classes.ts` files from @pathscale/ui's component tree and
5
+ * produces a versioned `purge-manifest.json` database consumed by the postbuild
6
+ * purge script.
7
+ *
8
+ * Usage: bun run src/generate-manifest.ts <path-to-ui-src/components>
9
+ * Output: purge-manifest.json in cwd (or pass --out <path>)
10
+ */
11
+ export {};
@@ -0,0 +1,3 @@
1
+ export { cleanUnusedVars, cleanUnusedVarsWithReport, normalizePurgeDatabase, purgeCssWithDatabase, } from "./postbuild-purge";
2
+ export type { ComponentManifest, ComponentPurgeRecord, PropUsage, PurgeDatabaseV2, PurgeManifest, Safelists, } from "./scan-consumer";
3
+ export { buildSafelists, extractJSXUsages, extractUIImports, scanConsumerSource, } from "./scan-consumer";