@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
|
@@ -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
|
|
485
|
-
if (
|
|
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
|
-
|
|
488
|
-
|
|
489
|
-
|
|
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