Skip to content

Commit 21fbf58

Browse files
committed
Final final touches
1 parent b6a7ec9 commit 21fbf58

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

demos/react-native-web-supabase-todolist/metro.config.js

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -2,20 +2,8 @@
22
const { getDefaultConfig } = require('expo/metro-config');
33
const path = require('node:path');
44

5-
// Find the project and workspace directories
6-
const projectRoot = __dirname;
75
const config = getDefaultConfig(projectRoot);
86

9-
// 1. Watch all files within the monorepo
10-
config.watchFolders = [projectRoot];
11-
// 2. Let Metro know where to resolve packages and in what order
12-
config.resolver.nodeModulesPaths = [
13-
path.resolve(projectRoot, 'node_modules'),
14-
];
15-
// #3 - Force resolving nested modules to the folders below
16-
// config.resolver.disableHierarchicalLookup = true;
17-
// config.resolver.unstable_enableSymlinks = true;
18-
197
// Needed to make `@powersync/web/umd` imports work
208
config.resolver.unstable_enablePackageExports = true;
219

0 commit comments

Comments
 (0)