🚇 The JavaScript bundler for React Native. https://facebook.github.io/metro
Go to file
Rafael Oleza a62eaa0d3b Make the inline platform transform support string keys
Summary:
This diff makes the platform inline transformer support string keys, for example:

```
Platform.select({
  'ios': 'ios',
  'default': 'default',
});
```

This fixes https://github.com/facebook/metro/issues/134

Reviewed By: mjesun

Differential Revision: D7079013

fbshipit-source-id: 3e47bb4a28f2ac776475842982e089d5954d6521
2018-02-25 11:05:46 -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 Update license headers for MIT license 2018-02-16 18:30:48 -08:00
packages Make the inline platform transform support string keys 2018-02-25 11:05:46 -08:00
scripts Update license headers for MIT license 2018-02-16 18:30:48 -08:00
website Update license headers for MIT license 2018-02-16 18:30:48 -08:00
.babelrc fix support for node v4 2017-06-26 05:08:50 -07:00
.eslintignore Fold .eslintrc's into the root eslintrc 2018-02-15 08:24:07 -08:00
.eslintrc.js Fold .eslintrc's into the root eslintrc 2018-02-15 08:24:07 -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 Update to MIT license 2018-02-16 18:30:48 -08:00
LICENSE Update to MIT license 2018-02-16 18:30:48 -08: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 Release Metro 0.27.0 2018-02-23 07:51:31 -08:00
package.json Upgrade Jest to 22.4.2 2018-02-23 03:52:44 -08:00
yarn.lock Fix npm deps 2018-02-24 09:21:43 -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.