mirror of https://github.com/status-im/metro.git
dee58678c6
Summary: The new Packager/Buck integration passes module factory functions as first argument, so that the complete call can be amended at the end safely at a later point in time. The call expression as a whole is covered perfectly by the created source map. Appending to that code later won’t break mappings. `__d` now also accepts an additional `dependencyMap` parameter, which so far is only used by the new Packager/Buck integration. It enables module-local dependency IDs, thus eliminating the need to insert `correct` module IDs when building a bundle. Advantages are that source maps are no longer affected, and that builds can be quicker. Reviewed By: cpojer Differential Revision: D4124333 fbshipit-source-id: 12eba15d0b9d8c6624280a2ba1e7e4bc654bc83d |
||
---|---|---|
.. | ||
src | ||
.npmignore | ||
index.js | ||
rn-babelrc.json |