- From: Goffert van Gool <notifications@github.com>
- Date: Mon, 22 Apr 2019 09:36:43 -0700
- To: w3c/webcomponents <webcomponents@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Monday, 22 April 2019 16:37:04 UTC
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