Camille Hodoul

Using ES modules w/ dynamic imports, with a fallback

July 19, 2018

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.


I'm a JavaScript and PHP developer living in Grenoble, France.
Twitter, Github, Flickr, resume