Is there any reason to bundle server-side code with webpack?
Anonymous
Hi, everyone.
I'm writing an Express app and I'm wondering if there's any benefit of bundling all of this server-side code with webpack. I liked the idea of being able to use import/export by transpiling with babel so I quickly added some webpack config and bundled everything but I'm not sure if it's overkill for the server. I guess I could also use something like babel-node to transpile as it's run but that'd have a slight performance impact, right?
Anyway, any advice would be very much appreciated. Thanks!