mirror of
https://github.com/status-im/metro.git
synced 2025-02-12 02:57:34 +00:00
Summary: In Node v6 there is no `final` function: https://nodejs.org/docs/v6.13.1/api/stream.html#stream_simplified_construction. It's not a problem however because we can preferentially use the `finish` event, that makes it more consistent with how `createReadStream` is implemented. I also added closing the fs on `error` events, as specified in the docs. **Test plan** yarn jest Closes https://github.com/facebook/metro/pull/150 Reviewed By: rafeca Differential Revision: D7215708 Pulled By: jeanlauliac fbshipit-source-id: 80921a245c8c87085a2ba83b84b1156a60aa1fb3
Metro
🚇 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.
Installation & Documentation
See the Metro website for documentation.
Description
Languages
JavaScript
100%