News for hackers. Stuff that matters.
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 ?
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)
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.
Re:Vue.js and Brunch: Webpack Alternative by zwily on Monday August 21, 2017 @02:16PM (#15066449)
What does that have to do with Webpack?
Re:Vue.js and Brunch: Webpack Alternative by JasonSage on Monday August 21, 2017 @02:19PM (#15066467)
Instead of serving bundles you can load individual scripts over an HTTP/2 connection and quickly serve only the scripts which are needed.
Re:Vue.js and Brunch: Webpack Alternative by zwily on Tuesday August 22, 2017 @12:40PM (#15074082)
Ah, but webpack does so, so much more than just bundling.