4 ms·
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 bu
by pragmatic 5y ago
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.
- adamparsons 5y agoIf 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.
- geoffmanning 5y agoI'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... :'(
- ttty 5y agoI just bundle everything except binary dependencies. Faster deployments
- qudat 5y agoIf you want typescript on the BE then you at least need a build step.