-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug] Build-Storybook doesn't appear to handle platform specific js files #44
Comments
Thanks for reporting this, I'll try and reproduce this tomorrow. |
Hey just wanted to check in and see if you were able to reproduce this. |
hey, sorry I got really busy. I will try to take a look soon. |
No worries! Appreciate the help |
any progress on this one? |
Well this is just a case of adjusting the resolutions option in webpack. However if you use .web.js or .web.ts it should always resolve that module first. Thats because the config is defined like this
|
also you can try putting ios/android last but that might not have the desired effect
thats because |
Describe the bug
When running
build-storybook
to generate the react-native-web project, the process tends to error out when attempting to handle a module that uses platform specific js files.Steps to reproduce the behavior
Expected behavior
These files should be transpiled correctly.
Screenshots and/or logs
Here is an example output I get when running
build-storybook
Environment
The text was updated successfully, but these errors were encountered: