danieloakman / iteragain

Javascript ES6 Iterable/Iterator utilities.
ISC License
1 stars 0 forks source link

Export ESM and CJS in the same build/release #4

Closed danieloakman closed 5 months ago

danieloakman commented 5 months ago

Use the exports property in the package.json to include both CJS and ESM in the same release. As well as building twice obv. This also means deprecating the iteragain-es package. Make the default as CJS, to not make it a breaking change.