Jean Lauliac 3ba92ba160 metro: Package: fix/simplify replacement behavior for string browser field
Summary:
The spec doesn't say the `browser` field should actually generate a replacement for the main *file*, just that it provides an alternative main: https://github.com/defunctzombie/package-browser-field-spec#alternate-main---basic
We also don't have any test covering this behavior. Any package relying on this behavior should be fixed to have a redirection of the main *file* in addition to their `main` *field*.

This is part of an effort to cleanup the way we do redirections. Eventually this will be part of the resolution module, not `Package.js`.

Reviewed By: davidaurelio

Differential Revision: D6611894

fbshipit-source-id: 0186aa23df2a9183d895ea02b5fd3b2b7339dc76
2017-12-24 08:31:18 -08:00
2017-11-30 11:56:25 +00:00
2017-12-05 11:29:42 -08:00
2017-12-20 14:29:01 -08:00
2017-11-30 11:56:25 +00:00
2017-06-26 05:08:50 -07:00
2017-01-26 12:56:40 +00:00
2017-11-30 11:56:25 +00:00
2017-01-26 12:56:40 +00:00
2017-01-26 12:56:40 +00:00
2017-01-26 12:56:40 +00:00
2017-11-30 11:56:25 +00:00
2017-11-22 02:58:16 -08:00
2017-11-30 11:56:25 +00:00
2017-12-20 19:31:01 -08:00
2017-11-30 11:56:25 +00:00
2017-12-18 05:20:08 -08:00
2017-11-30 11:56:25 +00:00
2017-11-30 11:56:25 +00:00
2017-12-18 05:20:08 -08:00

Metro Bundler

CircleCI Build Status npm version

🚇 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
🚇 The JavaScript bundler for React Native.
https://facebook.github.io/metro
Readme MIT
Languages
JavaScript 100%