diff options
author | Kitson Kelly <me@kitsonkelly.com> | 2020-02-13 08:41:51 +1100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-02-12 16:41:51 -0500 |
commit | 6bd846a780bec8a60d0a251ed1fb43e3add81be5 (patch) | |
tree | 315452f40fc2b92c1f9f8ab9b860d4747fb4e0e0 /cli/js/compiler_bootstrap.ts | |
parent | 3563ab4c53689480ac47871fe928ae7c78a2fcc3 (diff) |
Improvements to bundling. (#3965)
Moves to using a minimal System loader for bundles generated by Deno.
TypeScript in 3.8 will be able to output TLA for modules, and the loader
is written to take advantage of that as soon as we update Deno to TS
3.8.
System also allows us to support `import.meta` and provide more ESM
aligned assignment of exports, as well as there is better handling of
circular imports.
The loader is also very terse versus to try to save overhead.
Also, fixed an issue where abstract classes were not being re-exported.
Fixes #2553
Fixes #3559
Fixes #3751
Fixes #3825
Refs #3301
Diffstat (limited to 'cli/js/compiler_bootstrap.ts')
-rw-r--r-- | cli/js/compiler_bootstrap.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/js/compiler_bootstrap.ts b/cli/js/compiler_bootstrap.ts index 585aec016..817486d12 100644 --- a/cli/js/compiler_bootstrap.ts +++ b/cli/js/compiler_bootstrap.ts @@ -55,4 +55,4 @@ export const TS_SNAPSHOT_PROGRAM = ts.createProgram({ * We read all static assets during the snapshotting process, which is * why this is located in compiler_bootstrap. */ -export const BUNDLE_LOADER = getAsset("bundle_loader.js"); +export const SYSTEM_LOADER = getAsset("system_loader.js"); |