🚇 The JavaScript bundler for React Native. https://facebook.github.io/metro
Go to file
Peter van der Zee d6e80c4ebf When the sourceMap option is false, try to listen to it better
Summary:
I think the default value for the `--source-map` option is true, although it's not defined that way explicitly. Regardless, when it's explicitly set to `false` I would expect Metro to at least listen to that. Currently that's not the case. This diff attempts to improve that situation.

Note that it's still not perfect since there are more places where sourcemaps are still being touched when this flag is `false`. It turns out adding a proper flag for this leads to a lot of cascading type problems and so I ended up with this fix instead.

Reviewed By: rafeca

Differential Revision: D6884423

fbshipit-source-id: 7fe10045d9d9f73c7841588627ba41b14c2e412b
2018-02-05 01:16:56 -08:00
.github Rename metro-bundler to metro 2017-11-30 11:56:25 +00:00
docs Writes documentation for Metro's API 2018-02-02 05:20:48 -08:00
flow-typed Rename `Ast` to a more appropriate `BabelNode` in the babel flow type 2018-02-01 03:23:50 -08:00
packages When the sourceMap option is false, try to listen to it better 2018-02-05 01:16:56 -08:00
scripts Add babel version to build output 2018-01-15 07:29:29 -08:00
website Fix Get started and Learn more button links on the index page 2018-01-13 13:58:46 -08:00
.babelrc fix support for node v4 2017-06-26 05:08:50 -07:00
.eslintignore Initial repository structure. 2017-01-26 12:56:40 +00:00
.eslintrc.js Consolidate eslint config + fix some issues 2017-12-11 12:32:20 -08:00
.flowconfig @allow-large-files [flow] deploy flow 0.60 2017-12-04 13:30:30 -08:00
.gitignore Stop ignoring `build/` folders 2018-01-17 06:44:57 -08:00
.npmignore Initial repository structure. 2017-01-26 12:56:40 +00:00
.travis.yml Initial repository structure. 2017-01-26 12:56:40 +00:00
CHANGELOG.md Rename metro-bundler to metro 2017-11-30 11:56:25 +00:00
CODE_OF_CONDUCT.md Add CODE_OF_CONDUCT.md 2017-11-22 02:58:16 -08:00
CONTRIBUTING.md Rename metro-bundler to metro 2017-11-30 11:56:25 +00:00
LICENSE Rename metro-bundler to metro 2017-11-30 11:56:25 +00:00
PATENTS Rename metro-bundler to metro 2017-11-30 11:56:25 +00:00
README.md dropthe 2018-01-08 03:38:32 -08:00
appveyor.yml Initial repository structure. 2017-01-26 12:56:40 +00:00
circle.yml Tweak circleci configuration 2018-01-22 08:29:34 -08:00
lerna.json Bump metro@0.24.7 2018-01-25 09:30:07 -08:00
package.json Update Jest to 22.1.2 2018-01-17 07:58:28 -08:00
yarn.lock Add Babel 7 packages to metro (only) 2018-01-31 08:15:16 -08:00

README.md

Metro

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.