-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
* feat: 의존성 설치 * feat: @react-native/gradle-plugin 설치 * fix: pnpm이 react-native 프로젝트에서 node_modules 찾지 못하는 문제 해결
- Loading branch information
1 parent
b0e71ee
commit 5f4cc69
Showing
3 changed files
with
13 additions
and
37 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,18 @@ | ||
const {getDefaultConfig, mergeConfig} = require('@react-native/metro-config'); | ||
const path = require('path'); | ||
|
||
/** | ||
* Metro configuration | ||
* https://reactnative.dev/docs/metro | ||
* https://facebook.github.io/metro/docs/configuration | ||
* | ||
* @type {import('metro-config').MetroConfig} | ||
*/ | ||
const config = {}; | ||
const config = { | ||
resolver: { | ||
unstable_enableSymlinks: true, | ||
unstable_enablePackageExports: true, | ||
}, | ||
watchFolders: [path.join(__dirname, '..', '..')], | ||
}; | ||
|
||
module.exports = mergeConfig(getDefaultConfig(__dirname), config); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.