Split out compiler snapshot (#1566)

Speeds up startup time, reduces runtime heap size.
This commit is contained in:
Kitson Kelly 2019-01-29 11:41:28 +10:00 committed by Ryan Dahl
parent f7c0f49443
commit ee9c627cc5
14 changed files with 198 additions and 254 deletions

View file

@ -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;