@sveltejs/kit 2.22.4 → 2.22.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sveltejs/kit",
3
- "version": "2.22.4",
3
+ "version": "2.22.5",
4
4
  "description": "SvelteKit is the fastest way to build Svelte apps",
5
5
  "keywords": [
6
6
  "framework",
@@ -284,6 +284,9 @@ async function kit({ svelte_config }) {
284
284
  `!${kit.files.routes}/**/+*server.*`
285
285
  ],
286
286
  exclude: [
287
+ // Without this SvelteKit will be prebundled on the client, which means we end up with two versions of Redirect etc.
288
+ // Also see https://github.com/sveltejs/kit/issues/5952#issuecomment-1218844057
289
+ '@sveltejs/kit',
287
290
  // exclude kit features so that libraries using them work even when they are prebundled
288
291
  // this does not affect app code, just handling of imported libraries that use $app or $env
289
292
  '$app',
package/src/version.js CHANGED
@@ -1,4 +1,4 @@
1
1
  // generated during release, do not modify
2
2
 
3
3
  /** @type {string} */
4
- export const VERSION = '2.22.4';
4
+ export const VERSION = '2.22.5';