Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
arcatek
· 4y ago · 0 comments
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...
Comments
[–]
rattray
4y ago
Helpful, thank you!