@sveltejs/kit 2.22.3 → 2.22.4
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 +6 -1
- package/src/version.js +1 -1
package/package.json
CHANGED
|
@@ -297,7 +297,12 @@ async function kit({ svelte_config }) {
|
|
|
297
297
|
// that bundle later on from resolving the export conditions incorrectly
|
|
298
298
|
// and for example include browser-only code in the server output
|
|
299
299
|
// because they for example use esbuild.build with `platform: 'browser'`
|
|
300
|
-
'esm-env'
|
|
300
|
+
'esm-env',
|
|
301
|
+
// This forces `$app/*` modules to be bundled, since they depend on
|
|
302
|
+
// virtual modules like `__sveltekit/paths` (this isn't a valid bare
|
|
303
|
+
// import, but it works with vite-node's externalization logic, which
|
|
304
|
+
// uses basic concatenation)
|
|
305
|
+
'@sveltejs/kit/src/runtime'
|
|
301
306
|
]
|
|
302
307
|
}
|
|
303
308
|
};
|
package/src/version.js
CHANGED