Re:Vue.js and Brunch: Webpack Alternative
by Shorel on Monday August 21, 2017 @01:52PM
(#15066251)
Do we still need Webpack when all connections can use HTTP/2 and TLS thanks to LetsEncrypt ?
[ Parent
| on HN ]
Re:Vue.js and Brunch: Webpack Alternative
by christilut on Monday August 21, 2017 @04:49PM
(#15067748)
Webpack 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.
Re:Vue.js and Brunch: Webpack Alternative
by BrandoElFollito on Monday August 21, 2017 @02:35PM
(#15066608)
You need webpack to actually use a Vue component (template + script + CSS).
Re:Vue.js and Brunch: Webpack Alternative
by dabernathy89 on Monday August 21, 2017 @04:32PM
(#15067611)
You can use Browserify or Rollup too.
Re:Vue.js and Brunch: Webpack Alternative
by BrandoElFollito on Tuesday August 22, 2017 @09:31AM
(#15072160)
Yes, I meant that the OP comment missed a large chunk of webpack use cases, such as compilation of components.
Re:Vue.js and Brunch: Webpack Alternative
by Shorel on Wednesday August 23, 2017 @11:25AM
(#15082232)
Damn, I see that as unnecessary tight coupling, but a lot of our current technologies have survived that way.
What does that have to do with Webpack?