vite-plugin-solid@3.0.0-next.11
Pre-release
Pre-release
·
13 commits
to main
since this release
Patch Changes
- 1914c40: Reclassify emitted lazy facade chunks even when their importers are eliminated from the final bundle. Emitted chunk references are now retained so lazy facades can be identified without relying on a surviving
dynamicImportsedge. - bd2ed3f: Server functions now default their runtime to
@solidjs/web/server-functions
(requires the solid release that ships that subpath): theruntimeoption is
optional andserverFunctions: trueenables the compiler with the defaults.
The package's export conditions resolve the client or server half per
environment, so one specifier serves both builds — compiled output imports
registerServerReference/createServerReferencefrom it and the HTTP endpoint
is one call to itshandleServerFunctionRequest(see the reworked
examples/server-functionsfixture, which also round-trips therespond()
helper). Custom runtimes still plug in throughruntime.{server,client}.