From dd3a94933a82975b0827e1c15d2c0d37d8c9c013 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bartek=20Iwa=C5=84czuk?= Date: Tue, 7 Apr 2020 12:32:09 +0200 Subject: feat: add --importmap flag to deno bundle (#4651) --- cli/flags.rs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'cli/flags.rs') diff --git a/cli/flags.rs b/cli/flags.rs index e6b56a94a..42aa62480 100644 --- a/cli/flags.rs +++ b/cli/flags.rs @@ -374,6 +374,7 @@ fn install_parse(flags: &mut Flags, matches: &clap::ArgMatches) { fn bundle_parse(flags: &mut Flags, matches: &clap::ArgMatches) { ca_file_arg_parse(flags, matches); + importmap_arg_parse(flags, matches); let source_file = matches.value_of("source_file").unwrap().to_string(); @@ -666,6 +667,7 @@ fn bundle_subcommand<'a, 'b>() -> App<'a, 'b> { ) .arg(Arg::with_name("out_file").takes_value(true).required(false)) .arg(ca_file_arg()) + .arg(importmap_arg()) .about("Bundle module and dependencies into single file") .long_about( "Output a single JavaScript file with all dependencies. -- cgit v1.2.3