3 ms·
Here you'll want to use the "module/nomodule" trick. (Forgive the formatting / mangled HTML) script type="module" src="module.js" script nomodule src="nomodu
by chrisweekly 5y ago
Here you'll want to use the "module/nomodule" trick. (Forgive the formatting / mangled HTML)
script type="module" src="module.js"
script nomodule src="nomodule.js"
- earthboundkid 5y agoMost people should not use nomodule. If you have code, but you never test it, it is almost certainly broken. If you actually do test your code in IE11, okay great, use nomodule, but what I mostly see are pages that don't actually work in IE11 because the polyfils don't quite add up, but the devs have no idea because it isn't QA tested. It's just a waste of time for everyone.