mirror of
https://github.com/denoland/deno.git
synced 2024-11-22 15:06:54 -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
13 lines
428 B
JavaScript
13 lines
428 B
JavaScript
// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
|
|
|
|
// This module exports stable Deno APIs.
|
|
|
|
((window) => {
|
|
window.__bootstrap.denoNs = {
|
|
version: window.__bootstrap.version.version,
|
|
build: window.__bootstrap.build.build,
|
|
errors: window.__bootstrap.errors.errors,
|
|
customInspect: window.__bootstrap.console.customInspect,
|
|
inspect: window.__bootstrap.console.inspect,
|
|
};
|
|
})(this);
|