Open kwelch opened 7 years ago
This library is intended to be used for both react-native
and react
for the web. However the one issue is that the web / react-native versions don't have separate builds just separate entry points.
This could definitely be improved however at the moment this isn't actively maintained.
Understandable, I will leave this open so it maintains visibility.
I keep running into this issue 😞 is there any guidance on how this can be fixed? I'd be happy to put together a PR.
I am getting the following error, on a fresh install of animated in a web app. I have no react-native code to this point and I didn't see any documentation and says it needed to be a RN project.
Once I installed
babel-preset-react-native
the project built and functioned as expected. I am not really sure why this is happening but I wanted to raise the flag. Simple fix would be to move the preset to be a peerDependency, but I would not expect a packaged lib to need a babel preset.Stacktrace below