Closed
Description
Search Terms: install size mb
Expected behavior:
I expected typescript to be relatively small since it has zero dependencies so there is no additional bloat from package.json
or README.md
files included with dependencies.
[email protected]
is about 17 MB, not too bad.
Actual behavior:
[email protected]
is about 35 MB - double the size in about 2 years
I realize that there are no stated goals of install size, however it is worth considering because...how is TypeScript getting so big so fast? 😕
This might inhibit new users from coming on board when their code base might be a few kB with plain JS and adding TS would make it 35 MB.
Steps to reproduce
mkdir ts2.0
cd ts2.0
npm init -y
npm install --save-dev [email protected]
cd ..
mkdir ts2.9
cd ts2.9
npm init -y
npm install --save-dev [email protected]
cd ..
du -sh ts2.0 # 17M
du -sh ts2.9 # 35M