Files
Chromacase/front/webpack.config.js
2023-06-17 07:01:23 +01:00

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;
};