vite-plugin-solid@3.0.0-next.16
Pre-release
Pre-release
·
13 commits
to main
since this release
Minor Changes
- 91aea47: BREAKING: requires Vite 6+. The
vitepeer dependency is now
^6.0.0 || ^7.0.0 || ^8.0.0and the legacy pre-environment-API code paths
are gone: the plugin now always configuresresolve.conditionsand SSR
noExternal/externalper environment throughconfigEnvironment(instead
of the old top-levelresolve.conditions/ssrconfig placement), and the
turnkey SSR object form no longer needs a Vite-version guard. Thevite-3,
vite-4andvite-5examples were removed. If you are on Vite 3–5, stay on
an earlier release of this plugin or upgrade Vite. - 4bddb00: add
serverFunctions: { components: true }(experimental): server components ride server functions with zero extra plugin config — the dev middleware and production handler serve component responses automatically, and turnkey SSR's generated entries emit the document wiring (render plugin, bootstrap script, clientinstallServerComponents()call)
Patch Changes
- 4d68f9c: update to solid 2.0.0-beta.24 and @dom-expressions/compiler 0.50.0-next.29
- 2ca6a9e: update to solid 2.0.0-beta.25
- 7b20a0f: Turnkey SSR: dev responses now inline the entry graph's CSS, fixing the
flash of unstyled content. The dev middleware walks the SSR module graph
from the root entry (the app + document for generated entries, the authored
server entry otherwise), compiles each transitively imported stylesheet
through the client environment, and SSRs them as
<style data-asset data-vite-dev-id>tags in<head>— the same shape the
lazy-asset system emits, so Vite's client adopts them on startup (CSS HMR
updates the adopted tag in place) and the dev style patch dedupes any
late-injected twin. Previously entry CSS only arrived when the client entry
JS executed, so server-painted markup flashed unstyled in dev; production
was always fine (manifest-driven<link rel="stylesheet">). - 1df46d6: Expose the
vite-plugin-solid/virtual-solid-manifestambient type
declarations through a packageexportssubpath so
"types": ["vite-plugin-solid/virtual-solid-manifest"]resolves under
moduleResolution: "bundler"/node16too (previously only classicnode
resolution found the shipped.d.ts).