Expo Web
If you're using Next.js, use the Next.js docs instead.
If you're using expo start:web
, this section is for you.
Install
yarn add -D @expo/webpack-config
Configure
Create a custom webpack.config.js
file:
const createExpoWebpackConfigAsync = require('@expo/webpack-config')module.exports = async function (env, argv) { const config = await createExpoWebpackConfigAsync( { ...env, babel: { dangerouslyAddModulePathsToTranspile: ['dripsy'], }, }, argv ) return config}