I believe the legacy script should be loaded using nomodule as an attribute in script tag instead of a value for type attribute. https://developer.mozilla.org/en-US/docs/Web/API/HTMLScriptElement/noModule
I believe the legacy script should be loaded using nomodule as an attribute in script tag instead of a value for type attribute.
https://developer.mozilla.org/en-US/docs/Web/API/HTMLScriptElement/noModule