diff --git a/wasm/README.md b/wasm/README.md index 651deaf9..32293a4b 100644 --- a/wasm/README.md +++ b/wasm/README.md @@ -110,6 +110,9 @@ write your application in C++ and compile it using Emscripten, you may want to copy a subset of the `EMSCRIPTEN_BINDINGS` from `bindings.cc` into your application’s source file. +The package is ESM (`type: module`) and ships TypeScript types. +Ensure your bundler or dev server serves the `.wasm` asset at runtime. + ### Named Access The bindings support named access methods, similar to the Python bindings, @@ -300,11 +303,6 @@ mujoco.get_mjFRAMESTRING() This will return a javascript array representation of the values in MuJoCo `mjFRAMESTRING`. -### About assets -The package is ESM (`type: module`) and ships TypeScript types. - -Ensure your bundler or dev server serves the `.wasm` asset at runtime. - ## Development In order to change the bindings you will need to change the [`bindings.cc`](codegen/generated/bindings.cc)