- Notifications
You must be signed in to change notification settings - Fork13.1k
Closed
Milestone
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 frompackage.json orREADME.md files included with dependencies.
typescript@2.0.0 is about 17 MB, not too bad.
Actual behavior:
typescript@2.9.0-dev.20180411 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.0cd ts2.0npm init -ynpm install --save-dev typescript@2.0.0cd ..mkdir ts2.9cd ts2.9npm init -ynpm install --save-dev typescript@2.9.0-dev.20180411cd ..du -sh ts2.0 # 17Mdu -sh ts2.9 # 35M