diff options
Diffstat (limited to 'cli/js/compiler/bootstrap.ts')
-rw-r--r-- | cli/js/compiler/bootstrap.ts | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/cli/js/compiler/bootstrap.ts b/cli/js/compiler/bootstrap.ts index d4642d041..978ddbaf8 100644 --- a/cli/js/compiler/bootstrap.ts +++ b/cli/js/compiler/bootstrap.ts @@ -31,22 +31,10 @@ host.getSourceFile( ts.ScriptTarget.ESNext ); -/** - * This function spins up TS compiler and loads all available libraries - * into memory (including ones specified above). - * - * Used to generate the foundational AST for all other compilations, so it can - * be cached as part of the snapshot and available to speed up startup. - */ export const TS_SNAPSHOT_PROGRAM = ts.createProgram({ rootNames: [`${ASSETS}/bootstrap.ts`], options, host }); -/** A module loader which is concatenated into bundle files. - * - * We read all static assets during the snapshotting process, which is - * why this is located in compiler_bootstrap. - */ export const SYSTEM_LOADER = getAsset("system_loader.js"); |