ESM target support on every matter.js package #253
adminy
started this conversation in
Feature requests (vote via thumbs up)
Replies: 1 comment
-
For the sake of compatibility and integratability into other javaScript projects and libraries I would stay with "a combi package" like matter.js by having cjs and esm builds included and also both exported. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
matter-node.js package splits its target into esm and cjs, however matter.js package only has common js.
Define a standard way across the packages to target esm. You can import an esm module only one way so maybe it makes sense to stick to one target for simplicity sake but preferably only 1 target for all the packages.
Beta Was this translation helpful? Give feedback.
All reactions