Support object-valued "browser" field in package.json. #9311
This PR implements support for the "relative style" of
Replacements that use the "package style" are simply ignored, due to the prohibitive cost of supporting that style at runtime. There seemed to be a consensus in the #6890 discussion that partially supporting object-valued
The `installPath` property was always essentially an absolute module identifier that was simply missing the leading '/' character, so this commit acknowledges that role by renaming the property to `absModuleId` and adding the leading slash.
Regression test for #6890.