17 lines
372 B
JavaScript
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
|
|
} |