feat: add expo-two-way-audio module to workspace
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
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;
|
||||
};
|
||||
Reference in New Issue
Block a user