Files
Chromacase/front/webpack.config.js
2023-02-22 12:55:56 +01:00

17 lines
372 B
JavaScript

const createExpoWebpackConfigAsync = require('@expo/webpack-config')
module.exports = async function (env, argv) {
const config = await createExpoWebpackConfigAsync(
{
...env,
babel: { dangerouslyAddModulePathsToTranspile: ['moti'] },
},
argv
)
config.resolve.alias['framer-motion'] = 'framer-motion/dist/framer-motion'
return config
}