diff --git a/metro.config.js b/metro.config.js index 178aeb84..d154fcf1 100644 --- a/metro.config.js +++ b/metro.config.js @@ -11,7 +11,7 @@ module.exports = { ...(Array.isArray(defaultConfig.resolver?.blockList) ? defaultConfig.resolver.blockList : [defaultConfig.resolver?.blockList]), - /\/contracts\/lib\//, + new RegExp(`${__dirname}/contracts/`), ], }, };