summaryrefslogtreecommitdiff
path: root/cli/tools/compile.rs
diff options
context:
space:
mode:
authorDavid Sherret <dsherret@users.noreply.github.com>2024-06-25 21:42:18 -0400
committerGitHub <noreply@github.com>2024-06-26 01:42:18 +0000
commiteb283c43f5601df54b7086578daef9793a36a56f (patch)
tree8fcb8eb46a373f1d24e0e9b10420b2c5961239ef /cli/tools/compile.rs
parent09cc473f3b3807d79a75eda3a744e4d9d7e34f3f (diff)
refactor: bump deno_graph to 0.79 (#24337)
No fixes in this to my knowledge. Just an upgrade. The functionality here will be used in a different PR.
Diffstat (limited to 'cli/tools/compile.rs')
-rw-r--r--cli/tools/compile.rs7
1 files changed, 4 insertions, 3 deletions
diff --git a/cli/tools/compile.rs b/cli/tools/compile.rs
index a29511af4..94bcce7e6 100644
--- a/cli/tools/compile.rs
+++ b/cli/tools/compile.rs
@@ -81,12 +81,13 @@ pub async fn compile(
ts_config_for_emit.ts_config,
)?;
let parser = parsed_source_cache.as_capturing_parser();
- let eszip = eszip::EszipV2::from_graph(
+ let eszip = eszip::EszipV2::from_graph(eszip::FromGraphOptions {
graph,
- &parser,
+ parser,
transpile_options,
emit_options,
- )?;
+ relative_file_base: None,
+ })?;
log::info!(
"{} {} to {}",