diff --git a/.changeset/pre.json b/.changeset/pre.json index a172957..41a6c57 100644 --- a/.changeset/pre.json +++ b/.changeset/pre.json @@ -108,6 +108,7 @@ "path-addressed-server-functions", "performance-tracks-dev-default", "plugin-package-rename", + "private-build-metadata", "production-error-boundary", "protect-configured-entry-chunks", "public-api-renames", @@ -123,6 +124,7 @@ "response-head-middleware-preview", "ride-solid-rc-10", "ride-solid-rc-9", + "rolldown-build", "root-relative-filter-globs", "sc-bootstrap-before-hydration-data", "scan-jsx-all-environments", diff --git a/CHANGELOG.md b/CHANGELOG.md index 02a9536..5366931 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,12 @@ # Changelog +## 3.0.0-next.55 + +### Patch Changes + +- 4deb52e: Keep build metadata out of the client output when one process builds both environments. The server build reads Vite's manifest and the server-function data from memory, then the plugin removes the manifest it turned on (set `build.manifest` to keep it) and moves `.vite/solid-server-functions.json` to the server output, so hosts like Nitro that publish the client output no longer serve them. +- 97e37f1: Build the package with Rolldown instead of Rollup and Babel. The published bundle no longer carries source comments (its sourcemap still embeds the commented sources), which makes `dist/esm/index.mjs` about 40% smaller. + ## 3.0.0-next.54 ### Patch Changes diff --git a/package.json b/package.json index f22fc69..87897d0 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@solidjs/vite-plugin", - "version": "3.0.0-next.54", + "version": "3.0.0-next.55", "description": "solid-js integration plugin for Vite", "type": "module", "engines": {