mirror of https://github.com/status-im/metro.git
🚇 The JavaScript bundler for React Native.
https://facebook.github.io/metro
207c533233
Summary: I suggest we grab our own version of worker-farm, since there are a few changes we'd like to do. There are two reasons for forking: * the original project does not seem maintained anymore, with a PR remaining unanswered (https://github.com/rvagg/node-worker-farm/pull/42); * we don't need to keep the level of genericity of the original project: for example, we don't need the option `maxConcurrentCallsPerWorker`, that we always keep to one. Forking gives us opportunity to simplify the code for our use case. Later on we could reuse it for other projects such as `jest`. A few things we'd like to do: * remove special node options from the forks, such as `--inspect`, or even, allow adding special options (if you want to debug a worker specifically for example); * allow us to pipe `stdout` and `stderr` instead of having transform spit stuff out to the parent process output; * remove code managing `maxConcurrentCallsPerWorker` and clean up the code in general; * add `flow` typing. Reviewed By: davidaurelio Differential Revision: D4993300 fbshipit-source-id: 10f0c2a18b010c2a8b2e2afebcb3aab3504d7923 |
||
---|---|---|
.github | ||
flow-typed | ||
packages | ||
scripts | ||
.babelrc | ||
.eslintignore | ||
.eslintrc | ||
.flowconfig | ||
.gitignore | ||
.npmignore | ||
.travis.yml | ||
CHANGELOG.md | ||
CONTRIBUTING.md | ||
LICENSE | ||
PATENTS | ||
README.md | ||
appveyor.yml | ||
lerna.json | ||
package.json | ||
yarn.lock |
README.md
metro-bundler
The JavaScript bundler for React Native