forked from LunatiqueCoder/expo-drax-example
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmetro.config.js
More file actions
23 lines (18 loc) · 759 Bytes
/
Copy pathmetro.config.js
File metadata and controls
23 lines (18 loc) · 759 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
// Learn more https://docs.expo.io/guides/customizing-metro
const { getDefaultConfig } = require('expo/metro-config');
// const path = require('path');
/** @type {import('expo/metro-config').MetroConfig} */
const config = getDefaultConfig(__dirname);
// // used to local packages
// if (__DEV__) {
// config.resolver.disableHierarchicalLookup = true;
// // 2. Let Metro know where to resolve packages and in what order
// config.resolver.nodeModulesPaths = [
// path.resolve(__dirname, 'node_modules/@reduxjs/toolkit/node_modules'),
// path.resolve(__dirname, 'node_modules'),
// ];
//
// config.resolver.enableGlobalPackages = true;
// config.watchFolders = ['/Users/myuser/Desktop/react-native-drax'];
// }
module.exports = config;