[babel-plugin] Exported Styles that use defineVars
cause variables to be left behind in the output
#896
Labels
bug
Something isn't working
Describe the issue
I have two definitions
defineVars
as followsThis setup causes the StyleX transform to leave behind:
defineVars
stylex.create
in the consumerQuestions:
Expected behavior
I at least expected that my consuming component would not leave behind styles just because it is using imported shared styles.
Steps to reproduce
Repros with latest StyleX babel plugin
Test case
No response
Additional comments
No response
The text was updated successfully, but these errors were encountered: