🚇 The JavaScript bundler for React Native. https://facebook.github.io/metro
Go to file
David Aurelio 6fa8dedfb5 Discard protocol, host, and port of URLs in bundle options
Summary:
HTTP request URLs don’t include protocol, host and port. Stack frames URLs, on the other hand, contain full URLs. These full URLs are used to get the correct bundle to build the source map from.

The method that creates option objects from URLs therefore now discards leading protocol, host and port to ensure that cached bundles can be reused for symbolication rather than triggering rebuilds.

Reviewed By: jeanlauliac, cpojer

Differential Revision: D4598077

fbshipit-source-id: 262df187bcdf7099011371e8b55ae692c6e1a942
2017-02-23 02:37:25 -08:00
.github Initial repository structure. 2017-01-26 12:56:40 +00:00
flow-typed Initial repository structure. 2017-01-26 12:56:40 +00:00
packages/metro-bundler Discard protocol, host, and port of URLs in bundle options 2017-02-23 02:37:25 -08:00
scripts Initial repository structure. 2017-01-26 12:56:40 +00:00
.babelrc Initial repository structure. 2017-01-26 12:56:40 +00:00
.eslintignore Initial repository structure. 2017-01-26 12:56:40 +00:00
.eslintrc Initial repository structure. 2017-01-26 12:56:40 +00:00
.flowconfig Initial repository structure. 2017-01-26 12:56:40 +00:00
.gitignore Initial repository structure. 2017-01-26 12:56:40 +00: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 Initial repository structure. 2017-01-26 12:56:40 +00:00
CONTRIBUTING.md Initial repository structure. 2017-01-26 12:56:40 +00:00
LICENSE Initial repository structure. 2017-01-26 12:56:40 +00:00
PATENTS Initial repository structure. 2017-01-26 12:56:40 +00:00
README.md Move 2017-01-26 13:31:04 +00:00
appveyor.yml Initial repository structure. 2017-01-26 12:56:40 +00:00
lerna.json Initial repository structure. 2017-01-26 12:56:40 +00:00
package.json Move 2017-01-26 13:31:04 +00:00
yarn.lock Initial repository structure. 2017-01-26 12:56:40 +00:00

README.md

metro-bundler Build Status Windows Build Status npm version

The JavaScript bundler for React Native