diff options
author | Kitson Kelly <me@kitsonkelly.com> | 2020-01-25 06:15:01 +1100 |
---|---|---|
committer | Ryan Dahl <ry@tinyclouds.org> | 2020-01-24 14:15:01 -0500 |
commit | 950537e8ef6e54c409a7fcafa0b087e68988d9ef (patch) | |
tree | 46162f11adc5a6e71c4c681ffe7949ad7bc98fb8 /cli/build.rs | |
parent | 8bc639a23e141d350e35ea112a4a9be2ea536fe6 (diff) |
Break out runtime lib to main and worker (#3771)
Co-authored-by: Bartek IwaĆczuk <biwanczuk@gmail.com>
Diffstat (limited to 'cli/build.rs')
-rw-r--r-- | cli/build.rs | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/cli/build.rs b/cli/build.rs index 7fc4b718d..f8e348f52 100644 --- a/cli/build.rs +++ b/cli/build.rs @@ -71,9 +71,14 @@ fn main() { let snapshot_path = o.join("COMPILER_SNAPSHOT.bin"); let mut custom_libs: HashMap<String, PathBuf> = HashMap::new(); custom_libs.insert( - "lib.deno_runtime.d.ts".to_string(), - c.join("js/lib.deno_runtime.d.ts"), + "lib.deno_main.d.ts".to_string(), + c.join("js/lib.deno_main.d.ts"), ); + custom_libs.insert( + "lib.deno_worker.d.ts".to_string(), + c.join("js/lib.deno_worker.d.ts"), + ); + custom_libs.insert("lib.deno.d.ts".to_string(), c.join("js/lib.deno.d.ts")); let main_module_name = deno_typescript::compile_bundle(&bundle_path, root_names) |