Closed valerii15298 closed 1 year ago
The dialect is commonjs
. cjs
is the file extension.
The override for commonjs is -cjs.cts
instead of -commonjs.cts
because it was initially the only override, before other dialect support was added. That's unfortunate, imo.
Thanks for the suggestion, I'm probably not going to change it again, though. It's fine.
Why emit folder is called
commonjs
instead ofcjs
? That is very strange. I think the naming should be more consistent either use full names or short ones but not mix them.cjs
andesm
- seems best choice orcommonjs
andesmidules
- this one doesn't look very good to be honest