Open EugenePisotsky opened 5 years ago
I have issues with RN0.59 , too. It does not work at all.
so far, we had to add react-native-typescript-transformer
through the rn-cli.config.js
file. this does not work anymore.
we can achieve the known behavior by putting the configuration into the new metro.config.js
file instead:
module.exports = {
transformer: {
// ... other configuration by react-native app template
babelTransformerPath: require.resolve('react-native-typescript-transformer') // 💁♂️ Add this line
}
};
this worked for me with react-native@0.59
.
Hello,
After upgrading to 0.59.0-rc.1 it stopped working:
I suppose it's related to metro version (https://github.com/facebook/metro/issues/111#issuecomment-456457949)