diff options
author | Bartek IwaĆczuk <biwanczuk@gmail.com> | 2020-04-07 12:32:09 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-07 12:32:09 +0200 |
commit | dd3a94933a82975b0827e1c15d2c0d37d8c9c013 (patch) | |
tree | 2ccc94a73f088791785c7be08c03d8c65d1422ef /cli/flags.rs | |
parent | 47a580293eb5c176497264f1c3f108bf6b2c480d (diff) |
feat: add --importmap flag to deno bundle (#4651)
Diffstat (limited to 'cli/flags.rs')
-rw-r--r-- | cli/flags.rs | 2 |
1 files changed, 2 insertions, 0 deletions
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. |