You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There's an upcoming change for the next major version of Yoga (releasing mid-feb), where we ended up making the JS bindings ES module compatible (and actually, only ES module compatible, for reasons around TLA and the future wasm module integration is going). ef1d772 is the commit that made that change.
This is not on the npmjs registry yet, and I still need to document that change when we do release notes, but I am fairly certain that would fix this issue (and will also break compat with CommonJS, unfortunately).
Report
Issues and Steps to Reproduce
Import yoga-layout in an ESM project.
Expected Behavior
Yoga to be correctly imported.
Actual Behavior
Note
It looks like it's the only issue that causes yoga-layout from working seamlessly in ESM environment.
The text was updated successfully, but these errors were encountered: