We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ecf3798 commit 4fffc15Copy full SHA for 4fffc15
src/dev/dev_build_cache.ts
@@ -365,7 +365,11 @@ import staticFileData from "./static-files.json" with { type: "json" };
365
366
// Import islands
367
${
368
- islands.map((item) => `import * as ${item.name} from "${item.server}";`)
+ islands
369
+ .map((item) => {
370
+ const spec = path.relative(outDir, item.server);
371
+ return `import * as ${item.name} from "${spec}";`;
372
+ })
373
.join("\n")
374
}
375
0 commit comments