diff options
author | David Sherret <dsherret@users.noreply.github.com> | 2024-04-11 19:00:17 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-04-11 23:00:17 +0000 |
commit | ade0cd5e97e25896457624a0ec6bf524a5fa5c20 (patch) | |
tree | 2d8ceabdd455a1e99fb458413590aba0f7f5880b /cli/factory.rs | |
parent | f1ea8ca3584c6970f4ce1dd43b9a7a9030a4be35 (diff) |
fix: upgrade deno_ast related crates (#23187)
Had to revert back swc due to
https://github.com/swc-project/swc/issues/8840
Fixes:
- https://github.com/denoland/deno_lint/pull/1262
- https://github.com/denoland/deno_doc/pull/538
- https://github.com/denoland/deno_doc/pull/537
- https://github.com/denoland/deno_graph/pull/430
- https://github.com/denoland/deno_graph/pull/425
- https://github.com/denoland/deno_graph/pull/432
Diffstat (limited to 'cli/factory.rs')
-rw-r--r-- | cli/factory.rs | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/cli/factory.rs b/cli/factory.rs index 18f6b6b2a..6e5db8a80 100644 --- a/cli/factory.rs +++ b/cli/factory.rs @@ -549,11 +549,14 @@ impl CliFactory { if let Some(ignored_options) = ts_config_result.maybe_ignored_options { warn!("{}", ignored_options); } - let emit_options = - crate::args::ts_config_to_emit_options(ts_config_result.ts_config); + let (transpile_options, emit_options) = + crate::args::ts_config_to_transpile_and_emit_options( + ts_config_result.ts_config, + ); Ok(Arc::new(Emitter::new( self.emit_cache()?.clone(), self.parsed_source_cache().clone(), + transpile_options, emit_options, ))) }) |