Expo up to date example #2287
Answered
by
tido64
Andréas Hanss (ScreamZ)
asked this question in
Q&A
|
Hello, I'm working on a turbo-repo pnpm mono repository, and I would like to support symlinks for my app. This app is using Expo for react native, but I can't find example on how to make it work ? Maybe anyone could help me ? Thanks |
Answered by
tido64
Mar 14, 2023
Replies: 1 comment
|
Hi, Expo has some documentation on how to customize the Metro bundler: https://docs.expo.io/guides/customizing-metro I haven't tested this, but you can probably do something like below: const { getDefaultConfig } = require('expo/metro-config');
const MetroSymlinksResolver = require('@rnx-kit/metro-resolver-symlinks');
const config = getDefaultConfig(__dirname);
config.resolver.resolveRequest = MetroSymlinksResolver();
module.exports = config; |
0 replies
Answer selected by
tido64
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi, Expo has some documentation on how to customize the Metro bundler: https://docs.expo.io/guides/customizing-metro
I haven't tested this, but you can probably do something like below: