mirror of
https://github.com/denoland/deno.git
synced 2024-11-26 16:09:27 -05:00
bf9930066d
This PR is intentionally ugly. It duplicates all of the code in cli/js2/ into cli/tsc/ ... because it's very important that we all understand that this code is unnecessarily duplicated in our binary. I hope this ugliness provides the motivation to clean it up. The typescript git submodule is removed, because it's a very large repo and contains all sorts of stuff we don't need. Instead the necessary files are copied directly into the deno repo. Hence +200k lines. COMPILER_SNAPSHOT.bin size ``` master 3448139 this branch 3320972 ``` Fixes #6812 |
||
---|---|---|
.. | ||
00_bootstrap_namespace.js | ||
00_typescript.js | ||
01_build.js | ||
01_colors.js | ||
01_errors.js | ||
01_event.js | ||
01_internals.js | ||
01_version.js | ||
01_web_util.js | ||
02_console.js | ||
06_util.js | ||
08_text_encoding.js | ||
10_dispatch_json.js | ||
11_timers.js | ||
11_workers.js | ||
40_diagnostics.js | ||
40_error_stack.js | ||
40_performance.js | ||
90_deno_ns.js | ||
99_main.js | ||
99_main_compiler.js | ||
README.md |
tsc
This directory contains the code for the typescript compiler snapshot
There is currently A LOT of overlap between this code and the runtime snapshot code in cli/js2.
This is intentionally ugly because there should be no overlap.
This directory ultimately should contain just typescript.js and a smallish CompilerHost.