mirror of
https://github.com/getpaseo/paseo.git
synced 2026-07-29 12:01:31 +00:00
21 lines
461 B
JavaScript
21 lines
461 B
JavaScript
const createConfigAsync = require("@expo/webpack-config");
|
|
const path = require("path");
|
|
|
|
module.exports = async (env, argv) => {
|
|
const config = await createConfigAsync(
|
|
{
|
|
...env,
|
|
babel: {
|
|
dangerouslyAddModulePathsToTranspile: ["expo-two-way-audio"],
|
|
},
|
|
},
|
|
argv,
|
|
);
|
|
config.resolve.modules = [
|
|
path.resolve(__dirname, "./node_modules"),
|
|
path.resolve(__dirname, "../../node_modules"),
|
|
];
|
|
|
|
return config;
|
|
};
|