From ade0cd5e97e25896457624a0ec6bf524a5fa5c20 Mon Sep 17 00:00:00 2001 From: David Sherret Date: Thu, 11 Apr 2024 19:00:17 -0400 Subject: 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 --- cli/tools/bundle.rs | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'cli/tools/bundle.rs') diff --git a/cli/tools/bundle.rs b/cli/tools/bundle.rs index 23d5aacb1..e8b9076ea 100644 --- a/cli/tools/bundle.rs +++ b/cli/tools/bundle.rs @@ -144,15 +144,18 @@ fn bundle_module_graph( } } + let (transpile_options, emit_options) = + crate::args::ts_config_to_transpile_and_emit_options( + ts_config_result.ts_config, + ); deno_emit::bundle_graph( graph, deno_emit::BundleOptions { minify: false, bundle_type: deno_emit::BundleType::Module, - emit_options: crate::args::ts_config_to_emit_options( - ts_config_result.ts_config, - ), + emit_options, emit_ignore_directives: true, + transpile_options, }, ) } -- cgit v1.2.3