mirror of https://github.com/status-im/metro.git
05871df2a9
Summary:This PR fixes a bug where when using relative roots for the packager server, asset paths would be deemed invalid by the recently introduced security check. Resolving the root to an absolute path fixes that problem. I'd be happy to write a regression test for this but I had a hard time setting up a mock file system with relative paths. If it is required, some help would be appreciated... Closes https://github.com/facebook/react-native/pull/7161 Differential Revision: D3214840 fb-gh-sync-id: 08e13fb9f94a98206fd2d090f74a8b63ba2bf80f fbshipit-source-id: 08e13fb9f94a98206fd2d090f74a8b63ba2bf80f |
||
---|---|---|
.. | ||
src | ||
.npmignore | ||
index.js | ||
rn-babelrc.json |