.expo-web.{js|ts|jsx|tsx}
To install @unitools/metro-config, use either of the following commands:
@unitools/metro-config
npm i @unitools/metro-config
yarn add @unitools/metro-config
Add following to your metro.config.js file.
metro.config.js
const { getDefaultConfig } = require("expo/metro-config");const { withUnitools } = require("@unitools/metro-config"); const projectRoot = __dirname; const config = getDefaultConfig(projectRoot); module.exports = withUnitools(config);