Skip to content

Commit

Permalink
fix: add missing node_modules paths to metro.config.js of basic examp…
Browse files Browse the repository at this point in the history
  • Loading branch information
yungblud authored Mar 1, 2024
1 parent 253ffb5 commit d505de5
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions examples/basic/metro.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -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: {
Expand Down

0 comments on commit d505de5

Please sign in to comment.