#ESModules vs commonjs
2 messages · Page 1 of 1 (latest)
The first problem is that the esm and ts ecosystems don't work well together, I think.
The second problem is that not all npm packages support the esm form, right?
2 messages · Page 1 of 1 (latest)
I know that nestjs officialy only supports commonjs and not esmodules, however, I know from experience it's possible to run nestjs using esmodules and I was wondering whether it's worth keeping on using commonjs over esmodules for now... Is there no major performance drop when going for commonjs vs esmodules?
The first problem is that the esm and ts ecosystems don't work well together, I think.
The second problem is that not all npm packages support the esm form, right?