diff --git a/sites/svelte.dev/vite.config.js b/sites/svelte.dev/vite.config.js index 6c3132d65a..27d06a26ed 100644 --- a/sites/svelte.dev/vite.config.js +++ b/sites/svelte.dev/vite.config.js @@ -28,7 +28,7 @@ function minified_raw_plugin() { name: 'minified-raw-js', async resolveId(id, importer) { if (id.startsWith(prefix)) { - const resolved = await this.resolve(id.slice(prefix.length), importer); + const resolved = await this.resolve(id.slice(prefix.length), importer, { skipSelf: true }); return '\0' + prefix + resolved.id; } },