@vaporeon_ vaporeon will rue the day they see a typical node_modules
@vaporeon_ @wallhackio combined, sounds plausible fur many purrojects
@vaporeon_ @wallhackio granted, a lot of those lines of code are dependencies of development tools (eslint, the TypeScript compiler, webpack, etc. etc.); most purrojects aren’t purrobably really linking with anywhere near all of those 200MB’s worth of javascript
it’s still ludicrous though
@vaporeon_ https://github.com/SharePoint/sp-dev-docs/issues/59#issue-172608481
Let's use this post as an example, where the user reports a node_modules folder that's 200 megabytes large.
As a simple estimate, let's say that each line of code is 60 bytes (60 ASCII characters). Then this would be a project with 133,333 lines of code!!!
@wallhackio 200 MEGABYTES? That's an abomination ![]()
@vaporeon_ welcome to web development 🙄
@vaporeon_ @wallhackio and that's only 87MiB lol
@alas @wallhackio "only 87MiB"
@vaporeon_ @wallhackio that's the usual way to ensure people know your example is smaller than the one they were already discussing before you chimed in, yes
@alas @vaporeon_ it well known that it is impossible to write a blog without 400000 lines of JavaScript in your build pipeline
@vaporeon_ my math is wrong oops
200 megabytes is 2*108 bytes, which divided by 60 would be over 3 million lines of code
@wallhackio Do they have more than 50000 lines of source code?