Skip to content
Discussion options

You must be logged in to vote

In the case of the default Expo config, all you need to do is wrap the exported config with withRozenite, like this:

// Learn more https://docs.expo.io/guides/customizing-metro
const { getDefaultConfig } = require('expo/metro-config');
const { withRozenite } = require('@rozenite/metro');

/** @type {import('expo/metro-config').MetroConfig} */
const config = getDefaultConfig(__dirname);

module.exports = withRozenite(config);

If the issue persists, could you please open an issue and share the details of your setup?

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by nesh325
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