stylex
stylex copied to clipboard
feat: add `esm` bundle to `@stylexjs/stylex`
What changed / motivation ?
This PR modifies the build
script of stylex
and adds ECMAScript
module support for the package.
Linked PR/Issues
Fixes #205
Pre-flight checklist
- [x] I have read the contributing guidelines Contribution Guidelines
- [x] Performed a self-review of my code
This looks good so far. LMK, when you think it's ready for review.
@nmn yeah, I think it's ready now!
Thank you @nedjulius! It looks good to merge, but I'm checking some things and will merge in a few days. I'll make sure to include this in the next point release.
I think this not enough, the upstream package you are using is still cjs. Which will still break the build
@himself65 Yes, I'm aware which is what I'm going to be fixing over the next few days!
@nmn are you looking into fixing the upstream package issue? I can try to look into it as well so we can unblock this PR
@nedjulius Yes, I have a PR up already. There's a couple of errors I hope to fix soon.