@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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sveltejs/kit",
3
- "version": "2.39.0",
3
+ "version": "2.39.1",
4
4
  "description": "SvelteKit is the fastest way to build Svelte apps",
5
5
  "keywords": [
6
6
  "framework",
@@ -803,7 +803,8 @@ async function kit({ svelte_config }) {
803
803
 
804
804
  fs.writeFileSync(
805
805
  file,
806
- code.replace('$$_export_$$($$_self_$$)', () => `export default $$_self_$$;`)
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
@@ -1,4 +1,4 @@
1
1
  // generated during release, do not modify
2
2
 
3
3
  /** @type {string} */
4
- export const VERSION = '2.39.0';
4
+ export const VERSION = '2.39.1';