@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 +1 -1
- package/src/exports/vite/index.js +3 -0
- package/src/version.js +1 -1
package/package.json
CHANGED
|
@@ -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