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
When using inline-style-prefixer as an ES module, the hyphenateProperty call in transition.js throws errors (obj is not a function) because the css-in-js/lib/* files are actually CommonJS modules.
Potential solutions:
import from css-in-js instead of css-in-js/lib (Cons: this might impact tree-shaking in some bundlers)
When using inline-style-prefixer as an ES module, the hyphenateProperty call in transition.js throws errors (obj is not a function) because the css-in-js/lib/* files are actually CommonJS modules.
Potential solutions:
References:
https://nodejs.org/api/packages.html#dual-commonjses-module-packages
Related to:
babel/babel#12363
The text was updated successfully, but these errors were encountered: