Replies: 1 comment
-
The babel config mimics how the library will work in an app after being published. By default the library is compiled for better compatibility with various tools. However, nativewind needs uncompiled JSX, so the compiled code won't work with nativewind. You see the same behavior in the example app. If you want the library to be uncompiled, you'd need to use the |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Is there a specific reason for the current order of elements in the
overrides
array inside thegetConfig
function? If not, I’d like to propose a PR that changes the order, since doing so resolves an issue where NativeWind styles are only applied inside theexample
app, but not to components imported from the library.@satya164
Beta Was this translation helpful? Give feedback.
All reactions