imagine downloading 100MB of build time dependencies to build a static website

removing typescript only saves around 14 megs so i guess react and/or next is just Ass

Follow

oh there’s typescript files in there too nvm

just having fun at this point: long, shell 

% find node_modules -type f | awk -F/ '{print $NF}' | awk -F. '{ print $NF }' | sort | uniq -c | sort -n
1 autoprefixer
1 bin
1 bnf
1 build-commit
1 cssesc
1 dylib
1 editorconfig
1 gitignore
1 gyp
1 jshintrc
1 LICENSE-MIT
1 lock
1 next
1 npmignore
1 resolve
1 scripts-run
1 sucrase
1 sucrase-node
1 ttf
2 1
2 coffee
2 gitkeep
2 jsonc
2 markdown
3 node
3 wasm
4 nycrc
5 html
7 cc
7 eslintrc
7 h
7 license
7 yml
8 woff2
11 css
20 cts
24 mts
27 txt
100 initialized
119 mjs
123 cjs
210 LICENSE
389 json
553 md
1764 ts
2579 map
5236 js

that definitely could have used just one awk script instead of most of the other purrocesses but i didn’t feel like it

Sign in to participate in the conversation
📟🐱 GlitchCat

A small, community‐oriented Mastodon‐compatible Fediverse (GlitchSoc) instance managed as a joint venture between the cat and KIBI families.