Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .changeset/pre.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
"dev-boundaries-ssr",
"dev-css-and-client-manifest",
"dev-external-conditions-fidelity",
"dev-false-production-runtime",
"dev-manifest-bridge-and-boundary-modules",
"dev-middleware-data-address",
"dev-middleware-full-dispatch",
Expand Down Expand Up @@ -127,6 +128,7 @@
"start-setup-hook",
"support-tsrx-vite",
"true-boxes-arrive",
"ts-lazy-module-url",
"turnkey-ssr",
"turnkey-start-option",
"virtual-manifest-types-subpath",
Expand Down
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# Changelog

## 3.0.0-next.49

### Patch Changes

- be766d6: `dev: false` now serves Solid's production builds under `vite dev`, as documented (#62). The plugin already dropped its own `development` condition, but Vite's default `development|production` condition resolves to `development` in any non-production mode, so the client still pre-bundled `solid.dev.js` / `web.dev.js` and SSR loaded `server.dev.js`. With `dev: false` the plugin now rewrites that condition to `production` under `vite dev`; vitest runs and `vite build` keep Vite's default resolution. Vite conditions apply per environment, so other packages that ship a `development` export also get their production builds in that case. It also stops emitting HMR refresh wrappers and pre-bundling `solid-js/refresh`, because the production refresh runtime is an inert stub that only warns; edits fall back to a full reload. The diagnostics bridge also stays off with `dev: false` unless `observe` is on, since its channels exist only in the dev and observe builds.
- af79dd8: Plain `.ts` and `.js` modules now get lazy callsite module URLs and, on the server, a `$$moduleUrl` export. Non-JSX files used to return before that pipeline, so a `routes.ts` of `lazy(() => import(...))` never told SSR which module to preload.

## 3.0.0-next.48

### Minor Changes
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@solidjs/vite-plugin",
"version": "3.0.0-next.48",
"version": "3.0.0-next.49",
"description": "solid-js integration plugin for Vite",
"type": "module",
"engines": {
Expand Down
Loading