summaryrefslogtreecommitdiff
path: root/cli/main.rs
diff options
context:
space:
mode:
Diffstat (limited to 'cli/main.rs')
-rw-r--r--cli/main.rs14
1 files changed, 4 insertions, 10 deletions
diff --git a/cli/main.rs b/cli/main.rs
index 395fe54da..7dcc7326a 100644
--- a/cli/main.rs
+++ b/cli/main.rs
@@ -425,8 +425,6 @@ async fn bundle_command(
}
debug!(">>>>> bundle START");
- let compiler_config = tsc::CompilerConfig::load(flags.config_path.clone())?;
-
let global_state = GlobalState::new(flags)?;
info!(
@@ -435,14 +433,10 @@ async fn bundle_command(
module_specifier.to_string()
);
- let output = tsc::bundle(
- &global_state,
- compiler_config,
- module_specifier,
- global_state.maybe_import_map.clone(),
- global_state.flags.unstable,
- )
- .await?;
+ let output = global_state
+ .ts_compiler
+ .bundle(global_state.clone(), module_specifier)
+ .await?;
debug!(">>>>> bundle END");