File tree Expand file tree Collapse file tree 1 file changed +0
-12
lines changed
demos/react-native-web-supabase-todolist Expand file tree Collapse file tree 1 file changed +0
-12
lines changed Original file line number Diff line number Diff line change 22const { getDefaultConfig } = require ( 'expo/metro-config' ) ;
33const path = require ( 'node:path' ) ;
44
5- // Find the project and workspace directories
6- const projectRoot = __dirname ;
75const 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
208config . resolver . unstable_enablePackageExports = true ;
219
You can’t perform that action at this time.
0 commit comments