AI-powered
podcast player
Listen to all your favourite podcasts with AI-powered features
ESM Publishing - Using the Module Dot Exports
You can have multiple exports from an ESM package that point to completely different things, meaning you can have like node code being exported from one package and then browser code from another export in your module. So that to me is like a big plus is that you can include so many different things, but then map them all. And not only that, if you want to get really intense about it, you can also do an import or a require property within an object value of that same export.