mirror of
https://github.com/status-im/metro.git
synced 2025-01-19 15:41:26 +00:00
Jean Lauliac
ec01441adf
metro-bundler: ModuleResolution: extract _loadAsFileOrDir()
Summary: Going one step further, we can start working around the throwing version. To simply some code, I also piggybacked the addition of helper functions `resolvedAs` and `failedFor` in this changeset, hope it's okay. I can split if necessary. Reviewed By: davidaurelio Differential Revision: D5415196 fbshipit-source-id: 1bd5955b5733866af52fa873bcd1d9e4ce8215cf
metro-bundler
🚇 The JavaScript bundler for React Native.
- 🚅 Fast: We aim for sub-second reload cycles, fast startup and quick bundling speeds.
- ⚖️ Scalable: Works with thousands of modules in a single application.
- ⚛️ Integrated: Supports every React Native project out of the box.
This project was previously part of the react-native repository. In this smaller repository it is easier for the team working on Metro Bundler to respond to both issues and pull requests. See react-native#13976 for the initial announcement.
Description
Languages
JavaScript
100%