mirror of
https://github.com/status-im/metro.git
synced 2025-02-09 01:33:45 +00:00
Summary: Addresses https://github.com/facebook/metro-bundler/issues/62 Apparently with some versions of `jest-haste-map`, the nested source file returns the module wrapped with `default` instead of the exports themselves (due to some ES6 babel transform, I am guessing). I wasn't able to reproduce this myself yet, but I think a good first step is to avoid using nested library files in the first place, ie. only use what's exported at the top-level. Reviewed By: rafeca Differential Revision: D5890757 fbshipit-source-id: 1196264b5626eda65c4aae222db2a1620f901c55
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%