test(webui): guard tailwind @source against missing perfect-design components

Add a spec that maps every component imported from perfect-design, and
every directory it imports in turn, to an @source entry in main.css.
Extend the bundle gate spec to check that utilities unique to recently
added components appear in the built CSS.
This commit is contained in:
2026-11-25 11:52:38 +00:00
parent 6bc144cc12
commit ff58b03e21
4 changed files with 138 additions and 1 deletions
+1
View File
@@ -3,3 +3,4 @@ export const DIST: string
export function hasDist(): boolean
export function measure(dir?: string): { file: string; gzip: number }[]
export function totalGzip(dir?: string): number
export function readCss(dir?: string): string