File size: 461 Bytes
b450976
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
const path = require("path")

const createConfigAsync = require("@expo/webpack-config")

module.exports = async (env, argv) => {
  const config = await createConfigAsync(
    {
      ...env,
      babel: {
        dangerouslyAddModulePathsToTranspile: ["@mentra/bluetooth-sdk"],
      },
    },
    argv,
  )
  config.resolve.modules = [path.resolve(__dirname, "./node_modules"), path.resolve(__dirname, "../node_modules")]

  return config
}