mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-07-05 00:32:41 -05:00
This debug code was added quite a while ago, constructed such that we wouldn't have to ship this code to our users. However, this is the sole place in the compiler project where the ts namespace "escapes" the bundle. By moving this debug code into the compiler itself, we no longer have any references to the ts namespace itself for our bundles that don't export anything (tsc, typingsInstaller). This lets bundlers tree shake the compiler, reducing the size of our output by _5.7 MB_ (a ridiculous improvement for _adding_ code).
25 lines
755 B
JSON
25 lines
755 B
JSON
{
|
|
"files": [],
|
|
"include": [],
|
|
"references": [
|
|
{ "path": "./cancellationToken" },
|
|
{ "path": "./compiler" },
|
|
{ "path": "./deprecatedCompat" },
|
|
{ "path": "./executeCommandLine" },
|
|
{ "path": "./harness" },
|
|
{ "path": "./jsTyping" },
|
|
{ "path": "./loggedIO" },
|
|
{ "path": "./server" },
|
|
{ "path": "./services" },
|
|
{ "path": "./testRunner" },
|
|
{ "path": "./tsc" },
|
|
{ "path": "./tsserver" },
|
|
{ "path": "./tsserverlibrary" },
|
|
{ "path": "./typescript" },
|
|
{ "path": "./typingsInstaller" },
|
|
{ "path": "./typingsInstallerCore" },
|
|
{ "path": "./watchGuard" },
|
|
{ "path": "./webServer" },
|
|
]
|
|
}
|