| /expo/docs/pages/guides/ |
| H A D | customizing-metro.mdx | 2 title: Metro bundler 3 sidebar_title: Bundle with Metro 5 description: Learn about different Metro bundler configurations that can be customized. 12 …Metro during [`npx expo start`](/more/expo-cli/#develop) and [`npx expo export`](/more/expo-cli/#e… 36 Metro resolves files as either source code or assets. Source code is JavaScript, TypeScript, JSON, … 43 The most common customization is to include extra asset extensions to Metro. 294 ### Expo webpack versus Expo Metro 298 | Feature | Metro | webpack | 318 ### Adding Web support to Metro 352 Starting Metro Bundler [all …]
|
| H A D | monorepos.mdx | 59 #### Modify the Metro config 61 Metro doesn't come with monorepo support by default (yet). That's why we need to configure Metro an… 63 1. Make sure Metro is watching the full monorepo, not just **apps/cool-app**. 65 3. Force Metro to only resolve (sub)packages from the `nodeModulesPaths`. 82 // 2. Let Metro know where to resolve packages and in what order 87 // 3. Force Metro to resolve (sub)dependencies only from the `nodeModulesPaths` 93 > Learn more about [customizing Metro](/guides/customizing-metro). 124 // Add the monorepo workspaces as `extraNodeModules` to Metro. 130 // 2. Let Metro know where to resolve packages and in what order 135 // 3. Force Metro to resolve (sub)dependencies only from the `nodeModulesPaths` [all …]
|
| H A D | typescript.mdx | 133 …ing **tsconfig.json** to update path aliases. You don't need to clear the Metro cache when the ali… 136 - Path aliases are only supported by Metro (including Metro web) and not by `@expo/webpack-config`. 137 - Bare projects require additional setup for this feature. See the [versioned Metro setup guide](/v… 214 - Absolute imports are only supported by Metro (including Metro web) and not by `@expo/webpack-conf… 215 - Bare projects require additional setup for this feature. See the [versioned Metro setup guide](/v…
|
| /expo/apps/router-e2e/ |
| H A D | README.md | 1 The e2e runner for Expo Router and Metro web.
|
| /expo/docs/pages/versions/v46.0.0/config/ |
| H A D | metro.mdx | 6 See more information about **metro.config.js** in the [customizing Metro guide](/guides/customizing…
|
| /expo/docs/pages/versions/v47.0.0/config/ |
| H A D | metro.mdx | 6 See more information about **metro.config.js** in the [customizing Metro guide](/guides/customizing…
|
| /expo/docs/pages/versions/v48.0.0/config/ |
| H A D | metro.mdx | 6 See more information about **metro.config.js** in the [customizing Metro guide](/guides/customizing…
|
| /expo/packages/expo-yarn-workspaces/ |
| H A D | README.md | 3 …s within monorepos like the Expo repository. It finesses Yarn workspaces, Metro, and the Expo repo… 21 …ional Expo apps, but we need to generate a different entry module because Metro does not use the l… 39 …ces` package defines a Metro configuration object that makes Metro work with Yarn workspaces in th… 41 **Aside:** when starting the project, run `expo start --clear` so Metro uses the latest configurati…
|
| /expo/packages/@expo/cli/src/start/server/metro/ |
| H A D | instantiateMetro.ts | 6 import type Metro from 'metro'; alias 127 metro: Metro.Server; 172 metroConfig.server.enhanceMiddleware = (metroMiddleware: any, server: Metro.Server) => {
|
| H A D | runServer-fork.ts | 41 const Metro = importMetroFromProject(projectRoot); constant 59 const { middleware, end, metroServer } = await Metro.createConnectMiddleware(config, {
|
| /expo/ios/versioned-react-native/ABI49_0_0/ReactNative/scripts/ |
| H A D | launchPackager.bat | 7 title Metro
|
| /expo/ios/versioned-react-native/ABI47_0_0/ReactNative/scripts/ |
| H A D | launchPackager.bat | 7 title Metro
|
| /expo/ios/versioned-react-native/ABI48_0_0/ReactNative/scripts/ |
| H A D | launchPackager.bat | 7 title Metro
|
| /expo/packages/@expo/cli/src/export/ |
| H A D | fork-bundleAsync.ts | 4 import Metro, { AssetData } from 'metro'; 32 export type BundleAssetWithFileHashes = Metro.AssetData & { 184 metro: Metro.Server,
|
| /expo/templates/expo-template-blank-typescript/ |
| H A D | gitignore | 19 # Metro
|
| /expo/templates/expo-template-blank/ |
| H A D | gitignore | 19 # Metro
|
| /expo/templates/expo-template-tabs/ |
| H A D | gitignore | 19 # Metro
|
| /expo/templates/expo-template-bare-minimum/ |
| H A D | gitignore | 19 # Metro
|
| /expo/templates/expo-template-tv/ |
| H A D | gitignore | 19 # Metro
|
| /expo/packages/@expo/metro-runtime/ |
| H A D | README.md | 3 Injects runtime code required for advanced Metro bundling features in the Expo ecosystem.
|
| /expo/apps/bare-expo/ |
| H A D | README.md | 7 …if needed, builds the React Android binaries, generate an emulator, start Metro, and open the app … 8 …automatically pod install, npm install, open a simulator, clear and start Metro, then open the app…
|
| /expo/packages/@expo/metro-runtime/build/async-require/ |
| H A D | buildAsyncRequire.js.map | 1 …Metro bundler.\n * https://github.com/react-native-community/discussions-and-proposals/blob/main/p…
|
| /expo/packages/@expo/ |
| H A D | CHANGELOG.md | 10 - Fix symbolication bug `ENOENT: no such file or directory, open` when Metro passes a URL as a file…
|
| /expo/packages/@expo/cli/ |
| H A D | CHANGELOG.md | 18 - Improve truncated Metro Node.js errors. ([#24546](https://github.com/expo/expo/pull/24546) by [@E… 75 - Add source map support with static Metro web exports. ([#24213](https://github.com/expo/expo/pull… 105 - Reduce Metro bundles during `expo export` for Metro static web. ([#23987](https://github.com/expo… 114 - Add support for `.mjs` extensions in Expo Metro. ([#23528](https://github.com/expo/expo/pull/2352… 118 - Always apply custom Metro resolver in Expo CLI. ([#23784](https://github.com/expo/expo/pull/23784… 137 - Fix Metro externals test. ([#23741](https://github.com/expo/expo/pull/23741) by [@EvanBacon](http… 200 - Add support for `web.favicon` to Metro web. ([#23072](https://github.com/expo/expo/pull/23072) by… 287 - Fix externals for Metro Node.js rendering. ([#22695](https://github.com/expo/expo/pull/22695) by … 322 - Use LogBox for static Metro errors. ([#22118](https://github.com/expo/expo/pull/22118) by [@EvanB… 411 - Allow chained Metro resolvers to resolve when the predecessor resolver throws a Metro resolution … [all …]
|
| /expo/packages/@expo/cli/src/export/__tests__/ |
| H A D | resolveOptions-test.ts | 26 /^Platform "web" is not configured to use the Metro bundler in the project Expo config\./
|