Download mobile/modules/bluetooth-sdk/example/webpack.config.js from Anirudh1950/MentraOS: direct link, hf CLI and curl.
- Browser
- Download file 461 Bytes
-
https://huggingface.co/Anirudh1950/MentraOS/resolve/main/mobile/modules/bluetooth-sdk/example/webpack.config.js
- Command line
-
hf download hf://Anirudh1950/MentraOS/mobile/modules/bluetooth-sdk/example/webpack.config.js
-
curl -L -o webpack.config.js https://huggingface.co/Anirudh1950/MentraOS/resolve/main/mobile/modules/bluetooth-sdk/example/webpack.config.js
461 Bytes
| 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 | |
| } | |