Skip to content

Expo up to date example #2287

Answered by tido64
ScreamZ asked this question in Q&A
Discussion options

You must be logged in to vote

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;

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by tido64
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants