Skip to content
master
Switch branches/tags
Code

Latest commit

Summary:
This diff is part of a stack that re-structures the metro-transform-worker with the goal to make the transformation pipeline(s) more visible as well as what metadata is added by each step. The ultimate goal is to model the pipeline as a set of transformation-steps where the output of one step is the input of the next step (e.g. the asset step transforms an asset to a JS artifact that than is transformed by the JS step).

This diff extracts the json transformation into its own function. It does not yet call into the JS-transformation because that potentially changes the behavior (this diff is a "mechanical refactor").

Reviewed By: motiz88

Differential Revision: D28386025

fbshipit-source-id: 371421cfae99ea6e6cc81efe9b55c86fa44e92ce
026e875

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Metro

CircleCI Build Status npm version codecov

πŸš‡ 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 to respond to both issues and pull requests. See react-native#13976 for the initial announcement.

Installation & Documentation

See the Metro website for documentation.

License

Metro is MIT licensed, as found in the LICENSE file.