Node.js has native esm support now, it makes sense to generate an additional `.mjs` bundle. So by using `--esm` you will have two bundled files, `index.js` and `index.mjs`