Y
Hacker News
new
|
ask
|
show
|
jobs
by
arcatek
1593 days ago
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...
1 comments
rattray
1593 days ago
Helpful, thank you!
link