- Replace mobile placeholder with Expo Router app (tabs, playback, auth, library) - Move Convex backend to @otunes/convex for web and mobile reuse - Update web app imports and API routes to use shared package
16 lines
416 B
JavaScript
16 lines
416 B
JavaScript
const { getDefaultConfig } = require("expo/metro-config")
|
|
const path = require("path")
|
|
|
|
const projectRoot = __dirname
|
|
const workspaceRoot = path.resolve(projectRoot, "../..")
|
|
|
|
const config = getDefaultConfig(projectRoot)
|
|
|
|
config.watchFolders = [workspaceRoot]
|
|
config.resolver.nodeModulesPaths = [
|
|
path.resolve(projectRoot, "node_modules"),
|
|
path.resolve(workspaceRoot, "node_modules"),
|
|
]
|
|
|
|
module.exports = config
|