diff options
author | Bartek IwaĆczuk <biwanczuk@gmail.com> | 2020-06-17 19:44:40 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-17 19:44:40 +0200 |
commit | e60922981be918ba4e6d9d857d9834b0d586df5b (patch) | |
tree | 39f260d605a0a8cf4efec71d77e927e7970cd8e6 /deno_typescript/lib.rs | |
parent | 75bb9dbdfc7f8b4e8d17978808ae575e61843aef (diff) |
Revert "Deno.bundle supports targets < ES2017. (#6328)" (#6342)
This reverts commit 75bb9dbdfc7f8b4e8d17978808ae575e61843aef.
Diffstat (limited to 'deno_typescript/lib.rs')
-rw-r--r-- | deno_typescript/lib.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/deno_typescript/lib.rs b/deno_typescript/lib.rs index 25e5a7fd0..52fb00b76 100644 --- a/deno_typescript/lib.rs +++ b/deno_typescript/lib.rs @@ -208,7 +208,7 @@ pub fn mksnapshot_bundle( js_check( isolate.execute(&bundle_filename.to_string_lossy(), bundle_source_code), ); - let script = &format!("__instantiate(\"{}\", false);", main_module_name); + let script = &format!("__instantiate(\"{}\");", main_module_name); js_check(isolate.execute("anon", script)); write_snapshot(isolate, snapshot_filename)?; Ok(()) @@ -252,7 +252,6 @@ pub fn get_asset(name: &str) -> Option<&'static str> { } match name { "system_loader.js" => Some(include_str!("system_loader.js")), - "system_loader_es5.js" => Some(include_str!("system_loader_es5.js")), "bootstrap.ts" => Some("console.log(\"hello deno\");"), "typescript.d.ts" => inc!("typescript.d.ts"), "lib.dom.d.ts" => inc!("lib.dom.d.ts"), |