ES module support in loaded scripts #1580
mechite
started this conversation in
Feature Requests
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
(transferred from ticket
T-17073)Can we make it possible that .js files which get added as
<script>could be manually configured to be<script type="module">?Use the well-established
.mjsextension and automatically insert them as such, or register them indocs.jsonas modules.This is available in all supported browsers (caniuse).
It will allow for the use of the
importstatement (and e.g.esm.run), as well asasync/awaitdirectly.Beta Was this translation helpful? Give feedback.
All reactions