Skip to content

Commit 2d1089d

Browse files
committed
fix: module hash
1 parent c37bb18 commit 2d1089d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/transformers/svelteTransformer.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ export const prerender = () => render(Component)
7474
plugins: [sveltePlugin({ mode: 'client' })],
7575
})
7676

77-
const outputModule = await import(resolve(tempFilePathOutput))
77+
const outputModule = await import(resolve(tempFilePathOutput)+`?${hashedId}`)
7878
const { body, head } = outputModule.prerender()
7979
const outFile = clientBuildResult.outputFiles.find(
8080
(d) => d.path === '<stdout>',

0 commit comments

Comments
 (0)