Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How does this work with webpack? #116

Open
Erfa opened this issue Feb 24, 2021 · 1 comment
Open

How does this work with webpack? #116

Erfa opened this issue Feb 24, 2021 · 1 comment

Comments

@Erfa
Copy link

Erfa commented Feb 24, 2021

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?

@probityrules
Copy link

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 😬.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants