Hide compiler module (#909)

Fixes #876
This commit is contained in:
Kitson Kelly 2018-10-06 00:13:22 +10:00 committed by Ryan Dahl
parent 6a649012bc
commit 6c42ded097
4 changed files with 23 additions and 20 deletions

View file

@ -23,3 +23,8 @@ export { truncateSync, truncate } from "./truncate";
export { FileInfo } from "./file_info";
export { connect, dial, listen, Listener, Conn } from "./net";
export const args: string[] = [];
// Provide the compiler API in an obfuscated way
import * as compiler from "./compiler";
// @internal
export const _compiler = compiler;