mirror of
https://github.com/swc-project/swc.git
synced 2024-10-05 04:39:06 +03:00
fix(bindings/cli): Rename --config
to --config-json
(#6932)
This commit is contained in:
parent
0559f2c2b4
commit
cb4436bd6e
@ -28,11 +28,11 @@ use crate::util::trace::init_trace;
|
||||
/// Configuration option for transform files.
|
||||
#[derive(Parser)]
|
||||
pub struct CompileOptions {
|
||||
/// Experimental: provide additional configuration to override the .swcrc.
|
||||
/// Can be used to provide experimental plugin configuration,
|
||||
/// Experimental: provide an additional JSON config object to override the
|
||||
/// .swcrc. Can be used to provide experimental plugin configuration,
|
||||
/// including plugin imports that are explicitly relative, starting with `.`
|
||||
/// or `..`
|
||||
#[clap(long, value_parser = parse_config)]
|
||||
#[clap(long = "config-json", value_parser = parse_config)]
|
||||
config: Option<Config>,
|
||||
|
||||
/// Path to a .swcrc file to use
|
||||
|
Loading…
Reference in New Issue
Block a user