News for hackers. Stuff that matters.
Re:The Wonderful World of Webpack by styfle on Monday September 04, 2017 @07:25PM (#15171463)
I had a hard time starting with webpack. Because it's so flexible, there are so many choices.

That's why I made a boiler plate project with React SSR, TypeScript, and Webpack

https://github.com/styfle/react-server-example-tsx

Re:The Wonderful World of Webpack by bluepnume on Monday September 04, 2017 @07:48PM (#15171552)
I had the same problem -- after throwing together a few open source front-end libraries, and struggling with each to get webpack, babel, karma, flow, etc. all working seamlessly together, I put together https://github.com/krakenjs/grumbler and now just fork this every time I want to start something new.

Being able to just start writing code without spending forever setting up the perfect environment is hugely liberating. I'd encourage everyone to find good boilerplates for what they want to do (or put together their own if nothing else fits)

Re:The Wonderful World of Webpack by swyx on Monday September 04, 2017 @08:47PM (#15171772)
in case its helpful to anyone, i was frustrated with this same thing too so i made a webapp to help with the boilerplate search. It also measures the "cognitive load" of a boilerplate to add some sort of cost function.

Here are the two boilerplates mentioned:

https://packagejason.herokuapp.com/krakenjs/grumbler

https://packagejason.herokuapp.com/styfle/react-server-examp...

and you can search others to your fancy.

Re:The Wonderful World of Webpack by doingmything on Monday September 04, 2017 @09:06PM (#15171839)
I could've sworn you guys were joking but you're all serious. This is utter madness!
Re:The Wonderful World of Webpack by ajdlinux on Monday September 04, 2017 @09:58PM (#15171999)
How much time do we now need to spend trying to choose a boilerplate?
Re:The Wonderful World of Webpack by dotancohen on Tuesday September 05, 2017 @02:42AM (#15172991)
No, now that time is being used to choose a boilerplate comparison webapp.
Re:The Wonderful World of Webpack by swyx on Tuesday September 05, 2017 @04:35PM (#15178889)
lol piss taking in its highest form