@sveltejs/kit@2.65.1
sveltejs/kit@sveltejs/kit@2.65.1Jun 14, 2026by github-actions[bot]
AI Summary
This patch release addresses build optimization issues, specifically preventing unwanted Vite development code imports in non-standard environments and fixing bundle emission with inline strategies.
Key Highlights
- Fix for non-standard `NODE_ENV` builds avoiding Vite dev client imports
- Fix for `bundleStrategy: 'inline'` emitting unused bundle and stylesheet files
- Fix for query invalidation when `invalidateAll` is set
- Fix for loading assets with absolute paths
Full Release Notes
### Patch Changes - fix: avoid importing the Vite development client code into builds with a non-standard `NODE_ENV` ([#16023](https://github.com/sveltejs/kit/pull/16023)) - fix: don't emit the unused bundle and stylesheet files when using `bundleStrategy: 'inline'` ([#16025](https://github.com/sveltejs/kit/pull/16025)) - fix: reset queries before navigating when `invalidateAll` is set ([#16014](https://github.com/sveltejs/kit/pull/16014)) - fix: regression in loading assets for absolute path apps ([#16026](https://github.com/sveltejs/kit/pull/16026))