DEV Community

Discussion on: ES6 Mini Crash Course: How to Write Modern JavaScript

Collapse
 
chrisachard profile image
Chris Achard

Yep! There is also a solution that involves renaming files to .mjs and using --experimental-modules, but I find esm works really well in practice (and is easier)