19 lines
530 B
JavaScript
19 lines
530 B
JavaScript
const { getDefaultConfig, mergeConfig } = require('@react-native/metro-config');
|
|
|
|
/**
|
|
* Metro configuration
|
|
* https://reactnative.dev/docs/metro
|
|
*
|
|
* @type {import('@react-native/metro-config').MetroConfig}
|
|
*/
|
|
const config = {
|
|
// The node crawler is more reliable than Watchman on workspaces stored in
|
|
// synchronised/user-document folders, where Watchman can deadlock while
|
|
// resolving the project root.
|
|
resolver: {
|
|
useWatchman: false,
|
|
},
|
|
};
|
|
|
|
module.exports = mergeConfig(getDefaultConfig(__dirname), config);
|