facebook / stylex

StyleX is the styling system for ambitious user interfaces.
https://stylexjs.com
MIT License
8.22k stars 303 forks source link

[@styles/open-props]: Has any plan/progress to support `ESM`? #505

Closed eryue0220 closed 2 months ago

eryue0220 commented 3 months ago

Describe the feature request

Describe the feature request

Recently, I am trying to support astro in unplugin-stylex, but the @stylexjs/open-props didn't support ESM Module. So is there any plan or progress to upgrade the package @stylesjs/open-props to support ESM Module? If no, I'd like to try.

nmn commented 3 months ago

@stylexjs/open-props is published as ESM. What do you mean?

eryue0220 commented 2 months ago

Yes but there is one more thing to do:

Or it will occur an error like this: image

The example code is here