News for hackers. Stuff that matters.
Re:Tiny Treeshaker: JavaScript tree shaking in 200 lines of ... by pwdisswordfish8 on Tuesday June 29, 2021 @08:08AM (#27674704)
s/for JS/on NPM/

There's no reason you can't write JS the same way you would write Java or C++. (And if you were writing "serious" applications in JS that weren't web apps before NodeJS came along, you did. Of course, you still can, too.)

Re:Tiny Treeshaker: JavaScript tree shaking in 200 lines of ... by raxxorrax on Tuesday June 29, 2021 @09:18AM (#27675360)
It certainly is more the environment than the language itself, true.