fix: add missing node_modules paths to metro.config.js of basic example app (#3555)

This commit is contained in:
yungblud
2024-03-01 22:43:36 +09:00
committed by GitHub
parent 253ffb5956
commit d505de5910

View File

@@ -43,6 +43,10 @@ const config = {
acc[name] = path.join(__dirname, 'node_modules', name);
return acc;
}, {}),
nodeModulesPaths: [
path.resolve(path.join(__dirname, './node_modules')),
path.resolve(path.join(__dirname, '../../node_modules'))
],
transformer: {
getTransformOptions: async () => ({
transform: {