metro
metro copied to clipboard
π The JavaScript bundler for React Native
after upgrading expo to last version I get `Error: Cannot find module 'metro-core'` when running `expo start` reinstalling packages doesn't work ``` "expo": "^46.0.0" "metro": "^0.72.0" "metro-core": "^0.72.0" "react-native": "0.69.4"...
Continued work for adding `require.context` to Metro, which started in https://github.com/facebook/metro/pull/821. The overall design is discussed in https://github.com/microsoft/rnx-kit/discussions/1515. The user-facing API is closely modelled on [Webpack's `require.context`](https://webpack.js.org/guides/dependency-management/#requirecontext). **This feature is...
Maybe someone can help me with defining a metro bundler cache server? I tried understand how to do that by the [docs](https://facebook.github.io/metro/docs/caching/) but I'm not sure how should I do...
### Description I had a huge issue bundling the app for development and production as soon as I updated the following packages to the latest version: ``` "@babel/core": "7.16.12", "@babel/plugin-proposal-decorators":...
**Do you want to request a *feature* or report a *bug*?** feature **What is the current behavior?** - `serializer.getPolyfills` sits outside of the module system, meaning any import cannot require...
**Do you want to request a *feature* or report a *bug*?** Bug and feature request **What is the current behavior?** If you want **resolver.extraNodeModules** to work, you need to add...
**Do you want to request a *feature* or report a *bug*?** Bug **What is the current behavior?** Frequently, when running my app via `yarn ios`, the launched metro process immediately...
At https://facebook.github.io/metro/docs/configuration/#transformer-options there is only mentioned that there are `getTransformOptions` but not in detail. I would like to know more about: ```js getTransformOptions: async () => ({ transform: { experimentalImportSupport:...
## Summary Fix expo issue [#17903](https://github.com/expo/expo/issues/17903) ## Test plan ### dependencies { "expo": "45.0.5", "expo-location": "~14.2.2", "expo-navigation-bar": "~1.2.0", "expo-splash-screen": "~0.15.1", "expo-status-bar": "~1.3.0", "expo-updates": "~0.13.2", "react-native": "0.68.2" } ### issue The...
Metro has encountered an error: Cannot read properties of undefined (reading 'transformFie'): . . .
Error while running react-native app on ios. react-native version: 0.67.3 Metro has encountered an error: Cannot read properties of undefined (reading 'transformFie'): . . . Tried changing node version to...