News for hackers. Stuff that matters.
Re:Create-React-App 3.3 by acemarke on Thursday December 05, 2019 @03:17AM (#21710750)
Nitpicking: last time I checked, it was around 1500.

Which is still way too many, and I'd love it if the JS community would spend some time working on collapsing the dependency trees for widely used tools like Webpack.

Re:Create-React-App 3.3 by marcthe12 on Thursday December 05, 2019 @07:35AM (#21711798)
It's already happening but slowly. Mainly because of some high profile incidents regarding huge dep trees and dropping support of old browsers and runtimes which means usage of native APIs. Webpack 5 has half of webpack4 deps for example.
Re:Create-React-App 3.3 by acemarke on Thursday December 05, 2019 @02:24PM (#21715495)
Really? I hadn't looked at Webpack 5 yet. If that's the case, that's great!
Re:Create-React-App 3.3 by z3t4 on Friday December 06, 2019 @05:09AM (#21720493)
When I ran create-react-app npm said it audited 960000 packages. I wonder where it got that number from then?
Re:Create-React-App 3.3 by acemarke on Friday December 06, 2019 @12:14PM (#21723812)
I honestly have no idea where NPM pulls its audit numbers from. If I open up npmjs.com right now, it says there's 1,153,926 packages in total on NPM. While CRA does have a bunch of transitive dependencies, I can guarantee that CRA does _not_ depend on 83% of the entire NPM registry :)