Skip to content

Commit bb8c4ba

Browse files
Copilotjaviercn
andcommitted
Add query string to dotnet.js import for cache busting
Co-authored-by: javiercn <[email protected]>
1 parent aa46f4e commit bb8c4ba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Components/Web.JS/src/Platform/Mono/MonoPlatform.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ async function importDotnetJs(startOptions: Partial<WebAssemblyStartOptions>): P
131131
}
132132

133133
// @ts-ignore: This dynamic import is handled at runtime and does not need a type declaration.
134-
return await import(/* webpackIgnore: true */ "./dotnet.js");
134+
return await import(/* webpackIgnore: true */ "./dotnet.js?v=8.0");
135135
}
136136

137137
function prepareRuntimeConfig(options: Partial<WebAssemblyStartOptions>, onConfigLoadedCallback?: (loadedConfig: MonoConfig) => void): DotnetModuleConfig {

0 commit comments

Comments
 (0)