Update sites/svelte.dev/vite.config.js

Co-authored-by: Dominik G. <dominik.goepel@gmx.de>
quicker-redirects
gtmnayan 1 year ago committed by GitHub
parent 90da4f2fee
commit 4e8e4d9097
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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;
}
},

Loading…
Cancel
Save