Open
Description
From the react-native docs:
For example, say you have the following files in your project:
BigButton.ios.js
BigButton.android.js
You can then require the component as follows:const BigButton = require('./BigButton');
This works since react-native ships a custom javascript bundler by default.
It would be good to have the possibility to generate such file names with bucklescript. Probably some sort of name mangling would be necessary.