fix: add missing node_modules paths to metro.config.js of basic example app (#3555)
This commit is contained in:
parent
253ffb5956
commit
d505de5910
@ -43,6 +43,10 @@ const config = {
|
|||||||
acc[name] = path.join(__dirname, 'node_modules', name);
|
acc[name] = path.join(__dirname, 'node_modules', name);
|
||||||
return acc;
|
return acc;
|
||||||
}, {}),
|
}, {}),
|
||||||
|
nodeModulesPaths: [
|
||||||
|
path.resolve(path.join(__dirname, './node_modules')),
|
||||||
|
path.resolve(path.join(__dirname, '../../node_modules'))
|
||||||
|
],
|
||||||
transformer: {
|
transformer: {
|
||||||
getTransformOptions: async () => ({
|
getTransformOptions: async () => ({
|
||||||
transform: {
|
transform: {
|
||||||
|
Loading…
Reference in New Issue
Block a user