News for hackers. Stuff that matters.
Re:Webpack 4 course: What is Webpack? by gedy on Monday July 16, 2018 @06:13AM (#17540059)
I hear this trope here a lot, always seems to gloss over what webpack improved on, which is replacing bespoke build scripts for web projects. Also that it greatly reduced the ye olde tradition of coding to the least common denominator subset of features that runs on all browsers. Webpack was and is awesome for that.
Re:Webpack 4 course: What is Webpack? by lucisferre on Monday July 16, 2018 @09:48AM (#17541201)
> coding to the least common denominator subset of features that runs on all browsers

Did Webpack do that or did Babel?

Re:Webpack 4 course: What is Webpack? by sametmax on Monday July 16, 2018 @10:12AM (#17541349)
Babel. Webpack is just a glue. An over complicated glue.
Re:Webpack 4 course: What is Webpack? by dxhdr on Monday July 16, 2018 @10:35AM (#17541564)
> replacing bespoke build scripts for web projects

Does it, though? No project of moderate complexity will be able to reuse a Webpack config. Conversely, how large of a problem was this for simple sites?

Re:Webpack 4 course: What is Webpack? by noir_lord on Monday July 16, 2018 @03:31PM (#17544280)
I still use shell scripts for moving assets around and build sass, I use webpack for the TypeScript/dependency managment (via yarn).

I looked at doing it with webpack but frankly 2 lines of bash that'll work the same in a decade vs haha no wasn't a hard choice.

Re:Webpack 4 course: What is Webpack? by sametmax on Monday July 16, 2018 @09:11AM (#17540991)
The fact having a broken arm is better than having aids doesn't mean breaking an arm is nice.