rethinkdb / horizon

Horizon is a realtime, open-source backend for JavaScript apps.
MIT License
6.78k stars 349 forks source link

Fixes -loose preset for React Native #815

Closed dalanmiller closed 8 years ago

dalanmiller commented 8 years ago

Should handle for #814 but since I know next to nothing about babel @deontologician should look at this.


This change is Reviewable

dalanmiller commented 8 years ago

npm run test seems to be hanging for me though.

deontologician commented 8 years ago

This looks good, we should remove the dependency on loose though

deontologician commented 8 years ago

Ok, I got react native working (chat example), and it seems the issue is that we include our .babelrc at all in the package (which we don't need to do). So, moving it out to a .babelrc, removing -loose (just cause) and making sure the .babelrc isn't distributed should work fine