Skip to content

fix: use @solidjs/web as jsxImportSource in solid-v2 jsconfig - #83

Merged
ryansolid merged 1 commit into
mainfrom
fix/solid-v2-jsximportsource
Aug 12, 2026
Merged

fix: use @solidjs/web as jsxImportSource in solid-v2 jsconfig#83
ryansolid merged 1 commit into
mainfrom
fix/solid-v2-jsximportsource

Conversation

@ryansolid

Copy link
Copy Markdown
Contributor

Summary

  • Follow-up to feat: Solid 2.0 template support #82, addressing @brenelz's review comment (feat: Solid 2.0 template support #82 (comment)): the jsconfig.json written for JS variants of the Solid 2.0 templates used jsxImportSource: "solid-js", but the solid-v2 templates' own tsconfig.json files all declare "@solidjs/web" — Solid 2.0's JSX runtime lives in @solidjs/web, and vite-plugin-solid 3.x compiles against it (moduleName: '@solidjs/web').
  • One-line constant change in JS_CONFIG_SOLID_V2; no changeset needed since the affected code is unreleased (covered by the existing solid-v2-templates changeset).

Test plan

  • Root pnpm test — 16/16 passing

Made with Cursor

The JS variants of the Solid 2.0 templates were getting a jsconfig.json
with jsxImportSource "solid-js", but the templates' own tsconfig.json
declares "@solidjs/web" (Solid 2.0's JSX runtime lives there, and
vite-plugin-solid 3.x compiles against it). Match the templates.
Raised by @brenelz in #82 review.
Co-authored-by: Cursor <cursoragent@cursor.com>
@ryansolid
ryansolid merged commit 5833ad1 into mainAug 12, 2026
3 checks passed
@ryansolid
ryansolid deleted the fix/solid-v2-jsximportsource branch August 12, 2026 10:41
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

@ryansolid