Comment Comment by arcatek Usually you setup a transpiler to target both. For example, my packages are bundled with rollup towards both cjs & esm:https://github.com/arcanis/clipanion/blob/master/rollup.conf... parent arcatek 4 years ago
https://github.com/arcanis/clipanion/blob/master/rollup.conf...