Skip to content

Commit 466f5c3

Browse files
hyfdevclaude
andcommitted
test: update run_worker_first assertion to include UnoCSS bypass
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent b7db4cf commit 466f5c3

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

‎packages/void/src/index.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -554,7 +554,7 @@ export function voidPlugin(options?: { persistTo?: string }): Plugin[] {
554554
"/**",
555555
"!/assets/*",
556556
"!/@*",
557-
// UnoCSS resolves `virtual:uno.css` to `/__uno.css` instead of using Rollup's `\0` prefix
557+
// UnoCSS resolves `virtual:uno.css` to `/__uno.css` (glob covers layered imports like `/__uno_components.css`)
558558
"!/__uno*",
559559
"!/src/*",
560560
"!/node_modules/*",

‎packages/void/test/integration/ssr-playground.test.ts‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -162,6 +162,7 @@ describe("playground/ssr build + preview", () => {
162162
"/**",
163163
"!/assets/*",
164164
"!/@*",
165+
"!/__uno*",
165166
"!/src/*",
166167
"!/node_modules/*",
167168
]);

0 commit comments

Comments
 (0)