You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: packages/playwright/README.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -20,8 +20,8 @@ The mode demo (`/mode.html`) is built via `rspack.mode.config.js`. It depends on
20
20
Key pieces:
21
21
22
22
-`npm run types:mode` generates declaration sidecars for the mode fixtures, including a strict-only path for `strict-ok-card.tsx`.
23
-
-`rspack.mode.config.js` runs the generator and writes the merged manifest to
24
-
`.knighted-css-mode/knighted-manifest.json`.
23
+
-`npm run types:mode` also writes the merged strict manifest to
24
+
`.knighted-css-mode/knighted-manifest.json` via `scripts/generate-mode-types.ts`.
25
25
- The resolver plugin is configured with `strictSidecar: true` and `manifestPath` so single-specifier imports like `./declaration-card.js` rewrite to `?knighted-css` at build time without warnings.
26
26
27
27
If you are debugging the mode fixture, use `KNIGHTED_CSS_DEBUG_MODE=1 npm run build:mode` to see rewrite decisions in the terminal.
0 commit comments