So, I read this short article on using ES6 modules in the browser, and it says this:
Scripts of type module are deferred by default. But you can override that behaviour with making them async. (Psst, confused between deferred and async again? Here you go.)
But, I don't want my script to be deferred OR asynchronous.
So, is it possible I could do something around the lines of:?
<script defer="false" type="module" src="main.js">
</script>
Cheers!
Top comments (0)