diff --git a/.changeset/vitest-node-env-browser-condition.md b/.changeset/vitest-node-env-browser-condition.md deleted file mode 100644 index 34d5822e..00000000 --- a/.changeset/vitest-node-env-browser-condition.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'vite-plugin-solid': patch ---- - -Load the client build of solid-js in test files that set `// @vitest-environment node` when `test.environment` is `jsdom` or `happy-dom`. The `ssr` environment keeps the `browser` condition again, and only the conditions Vitest passes to Node leave it out, so `msw/node` still loads. diff --git a/CHANGELOG.md b/CHANGELOG.md index 070e97ce..c794373f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,11 @@ # Changelog +## 2.11.16 + +### Patch Changes + +- 1ea0fba: Load the client build of solid-js in test files that set `// @vitest-environment node` when `test.environment` is `jsdom` or `happy-dom`. The `ssr` environment keeps the `browser` condition again, and only the conditions Vitest passes to Node leave it out, so `msw/node` still loads. + ## 2.11.15 ### Patch Changes diff --git a/package.json b/package.json index 45a1902d..f9d2c078 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "vite-plugin-solid", - "version": "2.11.15", + "version": "2.11.16", "description": "solid-js integration plugin for Vite", "type": "module", "files": [