mirror of
https://github.com/denoland/deno.git
synced 2025-07-31 00:54:18 +00:00
Split out compiler snapshot (#1566)
Speeds up startup time, reduces runtime heap size.
This commit is contained in:
parent
f7c0f49443
commit
ee9c627cc5
14 changed files with 198 additions and 254 deletions
|
@ -1,7 +1,6 @@
|
|||
// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license.
|
||||
|
||||
// Public deno module.
|
||||
/// <amd-module name="deno"/>
|
||||
export { pid, env, exit } from "./os";
|
||||
export { chdir, cwd } from "./dir";
|
||||
export {
|
||||
|
@ -61,8 +60,3 @@ export { Console, stringifyArgs } from "./console";
|
|||
export { DomIterableMixin } from "./mixins/dom_iterable";
|
||||
// TODO Don't expose deferred.
|
||||
export { deferred } from "./util";
|
||||
|
||||
// Provide the compiler API in an obfuscated way
|
||||
import * as compiler from "./compiler";
|
||||
// @internal
|
||||
export const _compiler = compiler;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue