UNPKG

expo-router

Version:

Expo Router is a file-based router for React Native and web applications.

7 lines (6 loc) 225 B
export const ctx = require.context( process.env.EXPO_ROUTER_APP_ROOT, true, // Ignore root `./+html.js` and API route files `./generate+api.tsx`. /^(?:\.\/)(?!(?:(?:(?:.*\+api)|(?:\+html)))\.[tj]sx?$).*\.[tj]sx?$/ );