Camille Hodoul

Using ES modules w/ dynamic imports, with a fallback

Using ES modules with dynamic imports can still be a mine field due to somewhat ambiguous <script type="module"> semantics.

In this medium post, I explain a way to load ES modules when possible or fallback to SystemJS.


Camille Hodoul

I'm a JavaScript and PHP developer living in Grenoble, France.
Links

© 2026