GitHub repo with step-by-step instruction in the README file for building and running the project in debug and release using Rollup: GitHub - 8Observer8/debug-drawer-ammo-babylonjs-js
It works on Babylon.js Playground but not from first time. You need to try call something like
console.log(new Ammo()) and run it. I don’t know how to fix it.