mirror of
https://github.com/status-im/metro.git
synced 2025-02-09 17:54:31 +00:00
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
metro-bundler
The JavaScript bundler for React Native
Description
Languages
JavaScript
100%