Re:Modern Node.js Patterns
by franciscop on Monday August 04, 2025 @03:00AM
(#44782810)
For simple projects you needed now to add rollup or other build system that didn't have or need it before. For complex systems (with non-trivial exports), now you have a mess since it wouldn't work straight away.
Now with ESM if you write plain JS it works again. If you use Bun, it also works with TS straight away.
Re:Modern Node.js Patterns
by tracker1 on Monday August 04, 2025 @12:34PM
(#44788154)
This is where I actually appreciated Deno's start with a clean break from npm, and later in pushing jsr. I'm mixed on how much of Node has come into Deno, however.
Now with ESM if you write plain JS it works again. If you use Bun, it also works with TS straight away.