Open sophister opened 5 years ago
it doens't work for me either, when I import a file, the plugin looks for it in node_modules
No solution for this?
You need to add this to metro.config.js:
const metroDefault = require('metro-config/src/defaults/defaults.js');
...
resolver: {
sourceExts: metroDefault.sourceExts.concat(['md', 'sql', 'txt']),
}
....
Then it's all sweet. I think this should be mentioned in readme.
Also not working with react-native 0.64.2
for me despite configuring the metro config (adding html
to sourceExts
).
It works when testing an app locally on a physical iOS device, but not with Xcode cloud/test flight.
hi, I've setup
.babelrc
like this:But cli throw error as below: