summaryrefslogtreecommitdiff
path: root/cli/tools/bundle.rs
diff options
context:
space:
mode:
authorBartek IwaƄczuk <biwanczuk@gmail.com>2023-08-24 11:21:34 +0200
committerGitHub <noreply@github.com>2023-08-24 11:21:34 +0200
commitf9beb928186f4edb07e07c96b677f14e75c428bb (patch)
tree4b9b6a3d6151ee2c1525e95678a99eedfc4647b3 /cli/tools/bundle.rs
parentb1ce2e41676ab5bc807a705b072986d9357fece5 (diff)
refactor: use "deno_config" crate (#20260)
Moved the configuration file to https://github.com/denoland/deno_config as we will have to use it in other projects.
Diffstat (limited to 'cli/tools/bundle.rs')
-rw-r--r--cli/tools/bundle.rs4
1 files changed, 3 insertions, 1 deletions
diff --git a/cli/tools/bundle.rs b/cli/tools/bundle.rs
index dc944d646..827641b1b 100644
--- a/cli/tools/bundle.rs
+++ b/cli/tools/bundle.rs
@@ -150,7 +150,9 @@ fn bundle_module_graph(
graph,
deno_emit::BundleOptions {
bundle_type: deno_emit::BundleType::Module,
- emit_options: ts_config_result.ts_config.into(),
+ emit_options: crate::args::ts_config_to_emit_options(
+ ts_config_result.ts_config,
+ ),
emit_ignore_directives: true,
},
)