edb1d5fe82
Generated by create-expo-module 56.0.3.
21 lines
460 B
JavaScript
21 lines
460 B
JavaScript
const createConfigAsync = require('@expo/webpack-config');
|
|
const path = require('path');
|
|
|
|
module.exports = async (env, argv) => {
|
|
const config = await createConfigAsync(
|
|
{
|
|
...env,
|
|
babel: {
|
|
dangerouslyAddModulePathsToTranspile: ['jecnaapi-react-native'],
|
|
},
|
|
},
|
|
argv
|
|
);
|
|
config.resolve.modules = [
|
|
path.resolve(__dirname, './node_modules'),
|
|
path.resolve(__dirname, '../node_modules'),
|
|
];
|
|
|
|
return config;
|
|
};
|