summaryrefslogtreecommitdiff
path: root/cli/build.rs
diff options
context:
space:
mode:
Diffstat (limited to 'cli/build.rs')
-rw-r--r--cli/build.rs9
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)