No public description
PiperOrigin-RevId: 565516592
This commit is contained in:
parent
81964608ba
commit
4a8a811373
|
@ -51,11 +51,6 @@ async function createFileset(
|
||||||
const suffix =
|
const suffix =
|
||||||
await isSimdSupported() ? 'wasm_internal' : 'wasm_nosimd_internal';
|
await isSimdSupported() ? 'wasm_internal' : 'wasm_nosimd_internal';
|
||||||
|
|
||||||
// For backwards compatiblity, we treat an unset `basePath` as a relative
|
|
||||||
// path. FilesetResolver provides an empty path as a default, which is not
|
|
||||||
// rewritten to '.'.
|
|
||||||
basePath = basePath ?? '.';
|
|
||||||
|
|
||||||
return {
|
return {
|
||||||
wasmLoaderPath: `${basePath}/${taskName}_${suffix}.js`,
|
wasmLoaderPath: `${basePath}/${taskName}_${suffix}.js`,
|
||||||
wasmBinaryPath: `${basePath}/${taskName}_${suffix}.wasm`,
|
wasmBinaryPath: `${basePath}/${taskName}_${suffix}.wasm`,
|
||||||
|
|
Loading…
Reference in New Issue
Block a user