mirror of
https://github.com/Sea-Haven-Industries/proposal-system.git
synced 2026-09-30 11:13:14 +00:00
React Native CLI 0.79 with React 19, TypeScript, Metro monorepo config, and React Native Paper + Navigation + Redux Toolkit + TanStack Query deps. Native ios/ and android/ directories deferred to macOS environment.
17 lines
493 B
JavaScript
17 lines
493 B
JavaScript
const path = require('path');
|
|
const { getDefaultConfig, mergeConfig } = require('@react-native/metro-config');
|
|
|
|
const projectRoot = __dirname;
|
|
const monorepoRoot = path.resolve(projectRoot, '..');
|
|
|
|
const config = {
|
|
watchFolders: [path.resolve(monorepoRoot, 'shared')],
|
|
resolver: {
|
|
nodeModulesPaths: [
|
|
path.resolve(projectRoot, 'node_modules'),
|
|
path.resolve(monorepoRoot, 'node_modules'),
|
|
],
|
|
},
|
|
};
|
|
|
|
module.exports = mergeConfig(getDefaultConfig(projectRoot), config);
|