Hello Boye.
Thank you for responding to my message. Currently I use this solution:
DracoCompression.Configuration = {
decoder: {
wasmUrl: "/draco/draco_wasm_wrapper_gltf.js",
wasmBinaryUrl: "/draco/draco_decoder_gltf.wasm",
fallbackUrl: "/draco/draco_decoder_gltf.js",
}
}
I don’t like this way of solving the problem, and it seems entirely inelegant to me.
Why do we need to add workarounds like manual configuration and manually placing files into a directory, instead of simply having these files installed via a package.json dependency and placed in node_modules, as it happens with the Havok Physics Engine?