JS code is already properly rewritten when a base href is configured in the HTML document, but the notification system used to know which JS file is a module is not properly taking into account the base href from the HTML document.
For JS modules, the base href of HTML document must be taken into account to properly notify of the module location (both in external script and when using inline JS module).
JS code is already properly rewritten when a base href is configured in the HTML document, but the notification system used to know which JS file is a module is not properly taking into account the base href from the HTML document.
For JS modules, the base href of HTML document must be taken into account to properly notify of the module location (both in external script and when using inline JS module).