ES6 modules in the browser: are they ready yet?

David Gilbertson
7 min readMar 5, 2020

Have you heard about ES6 modules in the browser? They’re like ES6 modules, but in the browser.

For those not in the know, this is what they look like:

They’ve been around for years, and maybe you’re wondering if you should dip your toes in. Well, I’ve been using them for the last month or so on a side-project, and have come the conclusion that …

Suspense!

First things first, the browser support: as I write this at the start of 2020, it’s a pretty respectable 90%.

I’m quite happy with 90% coverage (I don’t like 10% of people), but maybe you want to be more responsible. Even then, if your project doesn’t aim to support IE or UC or mini, that support stat gets pretty close to 100% of your target audience.

But browser support is only the beginning. In this post, I’ll aim to answer the three questions that I had…

--

--