5 ms·
Do we still need Webpack when all connections can use HTTP/2 and TLS thanks to LetsEncrypt ?
by Shorel 9y ago
Do we still need Webpack when all connections can use HTTP/2 and TLS thanks to LetsEncrypt ?
- zwily 9y agoWhat does that have to do with Webpack?
- BrandoElFollito 9y agoYou need webpack to actually use a Vue component (template + script + CSS).
- dabernathy89 9y agoYou can use Browserify or Rollup too. https://github.com/vuejs/vueify https://github.com/vuejs/vueify https://github.com/vuejs/rollup-plugin-vue https://github.com/vuejs/rollup-plugin-vue
- BrandoElFollito 9y agoYes, I meant that the OP comment missed a large chunk of webpack use cases, such as compilation of components.
- Shorel 9y agoDamn, I see that as unnecessary tight coupling, but a lot of our current technologies have survived that way.
- christilut 9y agoWebpack does much more than just put all your stuff in 1 bundle. It minifies, it does code splitting (only load what you need, HTTP2 is even a benefit here), tree shaking (remove unsued CSS), it can change your import paths for your convienence and so much more. Really it can do everything and that's why its so daunting for developers.