Re: [w3c/webcomponents] How to handle non-type=”module” scripts in HTML Modules? (#798)

A side-effect of removing the `type="module"` declarations from scripts in an html module file is that the html file itself may become invalid (when loaded directly as an HTML file, not as a module), because in this scenario the scripts will not be interpreted as module scripts. By going through with this, you are essentially creating two classes of `*.html` files; one that may be opened directly in a browser and one that may only be loaded as a module.

I'm not sure how much of a concern that is, but I think it is worth considering.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/w3c/webcomponents/issues/798#issuecomment-485469363

Received on Monday, 22 April 2019 16:37:04 UTC