I have JavaScript modules which I want to use with IE11.
In the HTML pages they are referenced like this:
<script type="module">
import * as mystuff from './scripts/mystuff.js'; window.mystuff = mystuff
</script>
They do not work in Internet Explorer 11, but I cannot change the modules to normal scripts (because they are generated by Transcrypt ). How can I make them work with IE? Does a polyfill or something similar for the <script type="module">
construct exist?
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.