It's 2020. What's the state of ES modules and bundling for front-end code? Can we finally write real ES modules without having to transpile everything down to ES5, use CommonJS
Webpack supports ES module syntax since v2, which is more than a couple years old now.
When delivering code to the browser, does it still need to be in an IIFE or UMD module? Can we start using the module/nomodule pattern to deliver native ES modules to the browser? Especially if you're not supporting older browsers that don't support ES6+ anymore?
Probably need to have a backup CommonJS bundle for the time being until publishing ES modules becomes more widespread.