16 lines
360 B
JavaScript
16 lines
360 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;
|
|
};
|