Commit 2cfe7ba
authored
Fixes #7801
`@tanstack/solid-*` packages ship `.jsx` source files that Node.js
cannot load without a JSX transform.
**Fix:** Add `ssr.noExternal: ["@solidjs/meta", /@TanStack\/solid-.*/]`
to all three test projects (unit, jsdom, jsx). This forces Vite to
bundle and transform them through `vite-plugin-solid`.
**Test plan**
- pnpm vitest run completes without "Unknown file extension" errors
- Tests importing `@tanstack/solid-*` packages run correctly
1 parent 0ab6c73 commit 2cfe7ba
1 file changed
Lines changed: 12 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
12 | 17 | | |
13 | 18 | | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
14 | 22 | | |
15 | 23 | | |
16 | 24 | | |
| |||
26 | 34 | | |
27 | 35 | | |
28 | 36 | | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
29 | 40 | | |
30 | 41 | | |
31 | 42 | | |
| |||
36 | 47 | | |
37 | 48 | | |
38 | 49 | | |
39 | | - | |
| 50 | + | |
40 | 51 | | |
41 | 52 | | |
42 | 53 | | |
| |||
0 commit comments