Rename MuJoCo WASM output artifacts to mujoco.*.
This change updates the Emscripten build to output files named `mujoco.js`, `mujoco.wasm`, and `mujoco.d.ts` instead of `mujoco_wasm.*`. The internal CMake target name remains `mujoco_wasm` to avoid conflicts. The package name in `package.json` is also updated to `mujoco`. New enum tests are added. PiperOrigin-RevId: 875140314 Change-Id: Ie03e0d1db2d03dd8582d5bfcb260b3d33549c2c9
This commit is contained in:
committed by
Copybara-Service
parent
757758dd2e
commit
940cab2508
@@ -12,8 +12,8 @@
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
import { MainModule, MjData, MjModel } from "../../dist/mujoco_wasm"
|
||||
import loadMujoco from "../../dist/mujoco_wasm.js"
|
||||
import { MainModule, MjData, MjModel } from "../../dist/mujoco"
|
||||
import loadMujoco from "../../dist/mujoco.js"
|
||||
|
||||
declare function loadMujoco(): Promise<MainModule>;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user