vite-plugin-solid@3.0.0-next.6
Pre-release
Pre-release
·
13 commits
to main
since this release
Minor Changes
- 540f72e: Add an opt-in
compiler: "native"JSX transform path powered by@dom-expressions/jsx-compiler.
Patch Changes
-
5250437: Harden SSR asset resolution for
lazy()modules.- Every dynamically imported project module in SSR-mode client builds is now emitted as an explicit facade chunk (
preserveSignature: "exports-only"), so it always gets a manifest entry keyed by its source path and a stabledefaultexport — even whenmanualChunksor dual static/dynamic imports would otherwise fold it facade-less into a shared chunk. This also coversimport.meta.globtargets that never pass through thelazy()moduleUrl transform. - Emitted facade chunks are reclassified from
isEntrytoisDynamicEntryin the virtual manifest so the runtime's entry-asset detection can't pick a lazy facade instead of the real client entry. - SSR transforms now append a
$$moduleUrlexport carrying the module's client-manifest key. Server-sidelazy()(solid-js ≥ 2.0.0-beta.17) reads it off the resolved module when the callsite has no static import specifier — enabling asset resolution and hydration preloading for glob-based lazy routes. Client builds are untouched.
- Every dynamically imported project module in SSR-mode client builds is now emitted as an explicit facade chunk (