update for RN 56?
arolson101 opened this issue · 2 comments
arolson101 commented
react-native-typescript-transformer has been updated to handle RN >= 56; could you do the same? I'm currently getting Cannot find module 'metro/src/transformer'
if (reactNativeMinorVersion >= 56) {
upstreamTransformer = require('metro/src/reactNativeTransformer')
} else if (reactNativeMinorVersion >= 52) {
upstreamTransformer = require('metro/src/transformer')
} else if (reactNativeMinorVersion >= 47) {
upstreamTransformer = require('metro-bundler/src/transformer')
} else if (reactNativeMinorVersion === 46) {
upstreamTransformer = require('metro-bundler/build/transformer')
tpucci commented
Good morning, thank you for this example ! We have updated the repo :)
You have been added to the contributors
tychota commented
Well done @arolson101 and sorry for big leadtime between the issue and the reaction.