@sveltejs/kit 2.29.0 → 2.29.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.29.0",
3
+ "version": "2.29.1",
4
4
  "description": "SvelteKit is the fastest way to build Svelte apps",
5
5
  "keywords": [
6
6
  "framework",
@@ -481,18 +481,14 @@ function create_remotes(config, cwd) {
481
481
  const remotes = [];
482
482
 
483
483
  // TODO could files live in other directories, including node_modules?
484
- for (const dir of [config.kit.files.lib, config.kit.files.routes]) {
485
- if (!fs.existsSync(dir)) continue;
484
+ for (const file of walk(config.kit.files.src)) {
485
+ if (extensions.some((ext) => file.endsWith(ext))) {
486
+ const posixified = posixify(path.relative(cwd, `${config.kit.files.src}/${file}`));
486
487
 
487
- for (const file of walk(dir)) {
488
- if (extensions.some((ext) => file.endsWith(ext))) {
489
- const posixified = posixify(path.relative(cwd, `${dir}/${file}`));
490
-
491
- remotes.push({
492
- hash: hash(posixified),
493
- file: posixified
494
- });
495
- }
488
+ remotes.push({
489
+ hash: hash(posixified),
490
+ file: posixified
491
+ });
496
492
  }
497
493
  }
498
494
 
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.29.0';
4
+ export const VERSION = '2.29.1';