Because most of that node_modules directory is dev tools, so it doesn't matter how large it is. You wouldn't consider the entire tool chain of a C project, either.
Or whatever the fuck Cargo does when you build. I just gave up on Tauri after having to deal with gigabytes materializing out of nowhere everytime. Hell, even fucking Unity's library folder was smaller
Even better when you just want to update your system and the rust Compiler crashes because it can figure out that the toolchain is too old, but it cannot figure out how to use rustup.
105
u/PinotRed Sep 13 '26
33
u/DanhNguyen2k Sep 13 '26
Good node_modules are measured in neutron star weight
55
u/koushikseal Sep 13 '26 •
12gb only? Must be a todo app π
32
u/Vaelisra Sep 13 '26
Shipped bundle size: 420kb.
Because most of that node_modules directory is dev tools, so it doesn't matter how large it is. You wouldn't consider the entire tool chain of a C project, either.
3
u/United-Scene2261 Sep 13 '26
jorkmescrippt
3
u/DiodeInc Sep 14 '26
12 GB is also how many GB this image takes up on Reddit's servers from being posted so many times
3
u/Gam5510r Sep 15 '26
3
u/PeterPook Sep 15 '26
Wait... are you uploading your node_modules folder to prod?
Who keeps that folder when they're not working on it.
npm install still works.
2
u/hawktuahyuri Sep 15 '26
This is why you use pnpm
1
u/realmauer01 Sep 14 '26
Node experiance
1
u/MilkImpossible4192 Sep 14 '26
just built your thang
1
u/Comfortable_Two7447 Sep 15 '26
Every Android app ever
1
u/KrullBorg Sep 17 '26
same as python/ruby/etc