import("@dimforge/rapier2d") where it internally loads the .wasm file using import * as wasm from './rapier_wasm2d_bg.wasm'; (the wasm file does reside in the moment of compilation in the node_modules directory). import("@dimforge/rapier2d") but webassembly functions are not correctly defined and I get an is not a function error for some internal (in rapier) intergration function. blocked by embeddeder error, because WebAssebmly.instantiate([...]) is not allowed for manual loaded data.