@sveltejs/kit 2.39.0 → 2.39.1
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 +2 -1
- package/src/version.js +1 -1
package/package.json
CHANGED
|
@@ -803,7 +803,8 @@ async function kit({ svelte_config }) {
|
|
|
803
803
|
|
|
804
804
|
fs.writeFileSync(
|
|
805
805
|
file,
|
|
806
|
-
|
|
806
|
+
// build process might have minified/adjusted the $$_self_$$ variable, but not the fake global $$_export_$$ function
|
|
807
|
+
code.replace(/\$\$_export_\$\$\((.+?)\)/, (_, name) => `export default ${name};`)
|
|
807
808
|
);
|
|
808
809
|
}
|
|
809
810
|
}
|
package/src/version.js
CHANGED