News for hackers. Stuff that matters.
Re:Modern Node.js Patterns by int_19h on Monday August 04, 2025 @02:15AM (#44782572)
Why not import files with extensions? That's the way JS (and TS) import is actually supposed to work.
Re:Modern Node.js Patterns by mcv on Monday August 04, 2025 @06:10AM (#44783858)
I have to admit I was a bit surprised when I was suddenly expected to get rid of all extensions in import. Sure, looks clean, but is it right?