Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

TypeScript has doubled in size since v2.0.0 - now 35 MB #23339

Closed
Assignees
weswigham
Labels
BugA bug in TypeScriptFixedA PR has been merged for this issue
@styfle

Description

@styfle

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.

install sizetypescript@2.0.0 is about 17 MB, not too bad.

Actual behavior:

install sizetypescript@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

Metadata

Metadata

Assignees

Labels

BugA bug in TypeScriptFixedA PR has been merged for this issue

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions


    [8]ページ先頭

    ©2009-2025 Movatter.jp