No public description

PiperOrigin-RevId: 565516592
This commit is contained in:
Sebastian Schmidt 2023-09-14 16:57:27 -07:00 committed by Copybara-Service
parent 81964608ba
commit 4a8a811373

View File

@ -51,11 +51,6 @@ async function createFileset(
const suffix =
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 {
wasmLoaderPath: `${basePath}/${taskName}_${suffix}.js`,
wasmBinaryPath: `${basePath}/${taskName}_${suffix}.wasm`,