GitShow/solidjs/solid-vite-plugin
solidjs

solid-vite-plugin

A simple integration to run solid-js with vite

by solidjs
Star on GitHubForknpm

TypeScript

519 stars67 forks47 contributorsActive · 2h agoSince 2020vite-plugin-solid@2.11.14

Meet the team

See all 47 on GitHub →
amoutonbrady
amoutonbrady198 contributions
ryansolid
ryansolid114 contributions
birkskyum
birkskyum36 contributions
lxsmnsyc
lxsmnsyc15 contributions
github-actions[bot]Bot
github-actions[bot]14 contributions
dependabot[bot]Bot
dependabot[bot]12 contributions
alexandre-mb-airweb
alexandre-mb-airweb10 contributions
bluwy
bluwy6 contributions

Languages

View on GitHub →
TypeScript94%
JavaScript4.7%
HTML1.1%
MDX0.3%

Commit activity

Last 12 weeks · 4 commits

Full graph →

Community health

3 of 6 standards met

Community profile →
62
✓README○License✓Contributing✓Code of Conduct○Issue Template○PR Template

Recent PRs & issues

Active · Last activity 2h ago
See all on GitHub →
birkskyum
Define the portable application deployment adapter contractOpenIssue

Problem The plugin-managed application mode can compose with provider Vite plugins, but the deployment-facing contract is currently spread across generated virtual modules, environment setup, build ordering, output directories, manifests, static output, and prerender behavior. Provider integrations should not need to depend on undocumented implementation details to deploy a Solid application. Proposed scope Document and test the portable contract between and deployment adapters: the production server service entry and Fetch handler shape client and server environment names and required build ordering client assets, manifests, and output locations SSR, client-only, and server-function-only output differences static shell and prerender output which lifecycle steps the Solid plugin owns which responsibilities remain with provider plugins Where appropriate, expose named APIs or types instead of requiring adapters to import private virtual modules or reproduce internal assumptions. Non-goals implementing provider-specific deployment policy replacing Cloudflare, Netlify, Nitro, or other Vite integrations prescribing platform configuration The goal is a stable composition boundary so provider plugins can remain thin adapters over a web-standard Solid application handler.

birkskyum · 1h ago
birkskyum
refactor: rename Start mode to app modeOpenPR

Summary Renames the plugin-managed option to Renames to Uses for the root component Groups explicit rendering entries under and Renames to Moves typed env configuration from to the top-level option Updates internal plugin names, documentation, and example directories Keeps top-level Why describes the optional layer where the plugin owns entries, rendering, dev serving, and build orchestration. It avoids tying that capability to the retired SolidStart name. and remain independent capabilities. They can be used by router integrations, manual SSR setups, and other projects without plugin-managed application rendering. JavaScript configs using or receive migration errors. No compatibility aliases are retained before the stable release. Testing app client suite: 46/46 env suite: 48/48 app SSR suite: 366/366 HTTP bridge suite: 10/10

birkskyum · 2h ago
Jungzl
fix: don't crash the boundary guard when environment is missingOpenPR

Background I got on Solid 2 migration bundling with tsdown. Solution The / boundary guard no longer crashes when isn't available on resolve hooks, and now detects the target environment through the same helper used by the rest of the plugin, falling back to the resolve hook's flag when the environment is absent.

Jungzl · 3h ago

Recent fixes

View closed PRs →
birkskyum
test: cover server-function CSRF integrationMergedPR

Summary document Solid Web’s default same-origin protection for server functions make the Start SSR Node harness send browser-style Sec-Fetch-Site metadata verify cross-site rejection and same-origin dispatch in development and production Prerequisite Depends on solid#3027, which adopts the runtime protection from dom-expressions#571. This stays draft until the corresponding @solidjs/web release is available. There is no plugin changeset because the policy and runtime behavior live in Solid Web. This PR documents and verifies the existing Vite integration. Testing Tested against a simulated @solidjs/web@2.0.0-rc.2 built from solid#3027: pnpm build Start SSR development mode: 65/65 assertions Start SSR production mode: 58/58 assertions

birkskyum · 15h ago
brenelz
fix: do not enable devtools from Vite's optional-peer-dep stubMergedPR

Problem Any Start app that does not install fails in dev on : falls back to resolving the package from the plugin's own file (for pnpm-isolated installs where devtools is only a dependency of the plugin). But is declared an optional peer dependency of the plugin, so when it is absent Vite does not return for that resolution — it returns its stub (an empty module). The plugin took the stub as a real resolution, enabled the toolbar, and the generated client entry imported from an empty module. Fix Treat an id starting with as "not installed" in both resolution attempts. Verification Reproduced with the bare template + next.31 and no devtools installed; with the patched build the generated entry no longer imports devtools and the app boots with no console errors. : 45/45 (toolbar still wraps the app when devtools is installed). 🤖 Generated with Claude Code

brenelz · 2d ago
Structured data for AI agents

Repository: solidjs/solid-vite-plugin. Description: A simple integration to run solid-js with vite Stars: 519, Forks: 67. Primary language: TypeScript. Languages: TypeScript (94%), JavaScript (4.7%), HTML (1.1%), MDX (0.3%). Latest release: vite-plugin-solid@2.11.14 (4w ago). Open PRs: 10, open issues: 34. Last activity: 2h ago. Community health: 62%. Top contributors: amoutonbrady, ryansolid, birkskyum, lxsmnsyc, github-actions[bot], dependabot[bot], alexandre-mb-airweb, bluwy, high1, nksaraf and others.

·@ofershap

Replace github.com with gitshow.dev