Fix base bath loading in Fileset resolver
PiperOrigin-RevId: 492526041
This commit is contained in:
parent
768d2dc548
commit
dabc2af15b
|
@ -48,16 +48,16 @@ async function createFileset(
|
||||||
if (await isSimdSupported()) {
|
if (await isSimdSupported()) {
|
||||||
return {
|
return {
|
||||||
wasmLoaderPath:
|
wasmLoaderPath:
|
||||||
`/${basePath}/${taskName}_wasm_internal.js`,
|
`${basePath}/${taskName}_wasm_internal.js`,
|
||||||
wasmBinaryPath:
|
wasmBinaryPath:
|
||||||
`/${basePath}/${taskName}_wasm_internal.wasm`,
|
`${basePath}/${taskName}_wasm_internal.wasm`,
|
||||||
};
|
};
|
||||||
} else {
|
} else {
|
||||||
return {
|
return {
|
||||||
wasmLoaderPath:
|
wasmLoaderPath:
|
||||||
`/${basePath}/${taskName}_wasm_nosimd_internal.js`,
|
`${basePath}/${taskName}_wasm_nosimd_internal.js`,
|
||||||
wasmBinaryPath: `/${basePath}/${
|
wasmBinaryPath:
|
||||||
taskName}_wasm_nosimd_internal.wasm`,
|
`${basePath}/${taskName}_wasm_nosimd_internal.wasm`,
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user