File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
bindings/swc_cli/src/commands Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -28,11 +28,11 @@ use crate::util::trace::init_trace;
2828/// Configuration option for transform files.
2929#[ derive( Parser ) ]
3030pub struct CompileOptions {
31- /// Experimental: provide additional configuration to override the .swcrc.
32- /// Can be used to provide experimental plugin configuration,
31+ /// Experimental: provide an additional JSON config object to override the
32+ /// .swcrc. Can be used to provide experimental plugin configuration,
3333 /// including plugin imports that are explicitly relative, starting with `.`
3434 /// or `..`
35- #[ clap( long, value_parser = parse_config) ]
35+ #[ clap( long = "config-json" , value_parser = parse_config) ]
3636 config : Option < Config > ,
3737
3838 /// Path to a .swcrc file to use
You can’t perform that action at this time.
0 commit comments