3 ms·
> How is that any different from build tooling for any other language? On the one hand yes, on the other hand it's a large amount of crap just to build a stati
by masklinn 7y ago
> How is that any different from build tooling for any other language?
On the one hand yes, on the other hand it's a large amount of crap just to build a static site. `npm install @11ty/eleventy` pulls 600 packages and yields a 100MB node_modules folder.
Even Sphinx (whose scope goes way beyond static site generation) "only" pulls in about 75MB worth of stuff (a third of that being Babel) over two dozen dependencies (half a dozen being sphinx's own subcomponents).
- parhamn 7y agoTo be fair, you still have a tree shaking and minification step that would reduce this quite a bit.
- ashishb 7y agoThe problem with JS ecosystem is less about size and more about the number of files.
- onion2k 7y agoThere are real problems with NPM, like the proliferation of packages that include things they shouldn't (babel included a picture of Guy Feiri for a while...) but the simplistic "there's a lot of files" argument is nonsense. If you need a lot of files then you need a lot of files.
- filleduchaos 7y ago> babel included a picture of Guy Feiri for a while... I refuse to believe that there are real people so eager to jump on the JS hate bandwagon that they unironically believed every word of an obviously satirical article. (babel has never included a picture of Guy Fieri.)
- oplav 7y agoIt might not have been a picture, but there was an ASCI art of his face that got checked in. https://github.com/babel/babel/blob/f36d07d30334f86412a9d2771880cb566a82a9b6/packages/babel-core/src/api/node.js https://github.com/babel/babel/blob/f36d07d30334f86412a9d277...
- filleduchaos 7y agoIt was checked in as a humorous response to the very satirical article I'm talking about, and never actually published to the package registry. But again, people are so ready to froth at the mouth wherever JS is even mildly concerned that I really shouldn't be surprised they'd take a meme that lasted for a handful of days seriously.