Closed lecstor closed 4 months ago
Latest commit: 3f167276a04d80107dffdc2d914a746101ea9e3a
The changes in this PR will be included in the next version bump.
Not sure what this means? Click here to learn what changesets are.
Click here if you're a maintainer who wants to add another changeset to this PR
Thanks for the contribution!
Remove
undefined
values from rules array before passing to stylex babel plugin.Logging
rules
just beforestylexBabelPlugin.processStylexRules
is called shows it has many undefined values in the array, which it does not have in the initial run when starting the devserver.Filtering out the undefined values appears to resolve the issue.
Unfortunately I can't say how to replicate this issue, though I do know my this past message that I'm not the only one to see it.. https://github.com/HorusGoul/vite-plugin-stylex/issues/24#issuecomment-1870977440