box2d.js
box2d.js copied to clipboard
How does this work with webpack?
I've tried to import this with webpack, but as far as I can tell there is no package.json? What is the intended way to bundle this with the rest of your app?
I'm not sure the intended way, but we dropped the minified file into our source folder and added something like export default Box2D;
in order to get it webpacked. Not the cleanest, but it works 😬.