diff options
author | crowlKats <crowlkats@gmail.com> | 2020-03-13 10:22:22 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-03-13 10:22:22 +0100 |
commit | e435c2be158ce8657dbff0664b6db222fe4e586c (patch) | |
tree | b0e72033be2ce51a70fd2c2af23e6da131a642bb /cli/js/compiler/bundler.ts | |
parent | 3ac642c183981a366e1db565c16b81f864b07ee4 (diff) |
Remove doc strings from cli/js TS files (#4329)
Co-authored-by: Ryan Dahl <ry@tinyclouds.org>
Diffstat (limited to 'cli/js/compiler/bundler.ts')
-rw-r--r-- | cli/js/compiler/bundler.ts | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/cli/js/compiler/bundler.ts b/cli/js/compiler/bundler.ts index ab987a7fc..8e35befc8 100644 --- a/cli/js/compiler/bundler.ts +++ b/cli/js/compiler/bundler.ts @@ -4,10 +4,8 @@ import { SYSTEM_LOADER } from "./bootstrap.ts"; import { commonPath, normalizeString, CHAR_FORWARD_SLASH } from "./util.ts"; import { assert } from "../util.ts"; -/** Local state of what the root exports are of a root module. */ let rootExports: string[] | undefined; -/** Take a URL and normalize it, resolving relative path parts. */ function normalizeUrl(rootName: string): string { const match = /^(\S+:\/{2,3})(.+)$/.exec(rootName); if (match) { @@ -23,8 +21,6 @@ function normalizeUrl(rootName: string): string { } } -/** Given a root name, contents, and source files, enrich the data of the - * bundle with a loader and re-export the exports of the root name. */ export function buildBundle( rootName: string, data: string, @@ -63,7 +59,6 @@ export function buildBundle( return `${SYSTEM_LOADER}\n${data}\n${instantiate}`; } -/** Set the rootExports which will by the `emitBundle()` */ export function setRootExports(program: ts.Program, rootModule: string): void { // get a reference to the type checker, this will let us find symbols from // the AST. |