From f0d4890026d8adb1c179a5b8c5e1d0ddda5f63c8 Mon Sep 17 00:00:00 2001 From: Rifa Achrinza <25147899+achrinza@users.noreply.github.com> Date: Thu, 19 Sep 2024 17:58:05 +0800 Subject: [PATCH] fix: metro config module resolution in monorepos see: https://github.com/facebook/metro/issues/1337#issuecomment-2318488315 Signed-off-by: Rifa Achrinza <25147899+achrinza@users.noreply.github.com> --- packages/frontend/metro.config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/frontend/metro.config.js b/packages/frontend/metro.config.js index b3b002e..4673ecb 100644 --- a/packages/frontend/metro.config.js +++ b/packages/frontend/metro.config.js @@ -8,6 +8,6 @@ config.resolver.sourceExts.push( 'md', 'txt', 'svg' ); -config.watchFolders = [path.resolve(__dirname, 'app')]; +//config.watchFolders = [path.resolve(__dirname, 'app')]; console.log(config.watchFolders); module.exports = config;