We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6c661d2 commit c64c61dCopy full SHA for c64c61d
packages/next/src/build/swc/index.ts
@@ -325,7 +325,7 @@ async function tryLoadWasmWithFallback(attempts: any) {
325
downloadWasmPromise = downloadWasmSwc(nextVersion, wasmDirectory)
326
}
327
await downloadWasmPromise
328
- let bindings = await loadWasm(pathToFileURL(wasmDirectory).href)
+ let bindings = await loadWasm(wasmDirectory)
329
// @ts-expect-error TODO: this event has a wrong type.
330
eventSwcLoadFailure({
331
wasm: 'fallback',
0 commit comments