News for hackers. Stuff that matters.
Re:pnpm: Fast, disk space efficient package manager for Java... by pragmatic on Tuesday April 05, 2022 @09:36PM (#30927433)
Is this a thing? A buddy started at a new place and he was noticing webpack bundling for the backend.

Makes sense when you think about it I guess. Only used bundlers for front end stuff.

Re:pnpm: Fast, disk space efficient package manager for Java... by adamparsons on Wednesday April 06, 2022 @12:19AM (#30928433)
If backend services are written in TS (instead of JS) then you'll need to compile to run it. Be that TSC or webpack with ts-loader, you'll need something to perform that step. I don't think anyone is running ts-node outside of local dev environments.
Re:pnpm: Fast, disk space efficient package manager for Java... by qudat on Tuesday April 05, 2022 @11:43PM (#30928243)
If you want typescript on the BE then you at least need a build step.
Re:pnpm: Fast, disk space efficient package manager for Java... by geoffmanning on Tuesday April 05, 2022 @10:45PM (#30927915)
I'm just now finding that webpack is mostly a foreign concept in backend nodejs tech, but it's mind boggling to me that the norm was to ship code with the node_modules folder instead of bundling and minifying. Seriously, why? It's so wasteful... :'(
Re:pnpm: Fast, disk space efficient package manager for Java... by ttty on Tuesday April 05, 2022 @11:48PM (#30928263)
I just bundle everything except binary dependencies. Faster deployments