@sveltejs/kit 2.31.0 → 2.31.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 -2
- package/src/version.js +1 -1
package/package.json
CHANGED
|
@@ -558,9 +558,9 @@ async function kit({ svelte_config }) {
|
|
|
558
558
|
// are added to the module graph
|
|
559
559
|
enforce: 'pre',
|
|
560
560
|
|
|
561
|
-
async resolveId(id, importer) {
|
|
561
|
+
async resolveId(id, importer, options) {
|
|
562
562
|
if (importer && !importer.endsWith('index.html')) {
|
|
563
|
-
const resolved = await this.resolve(id, importer, { skipSelf: true });
|
|
563
|
+
const resolved = await this.resolve(id, importer, { ...options, skipSelf: true });
|
|
564
564
|
|
|
565
565
|
if (resolved) {
|
|
566
566
|
const normalized = normalize_id(resolved.id, normalized_lib, normalized_cwd);
|
package/src/version.js
CHANGED