We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent caf4154 commit 7883fe2Copy full SHA for 7883fe2
rewatch/src/config.rs
@@ -364,10 +364,10 @@ impl Config {
364
pub fn get_jsx_args(&self) -> Vec<String> {
365
match self.jsx.to_owned() {
366
Some(jsx) => match jsx.version {
367
- Some(version) if version == 3 || version == 4 => {
+ Some(version) if version == 4 => {
368
vec!["-bs-jsx".to_string(), version.to_string()]
369
}
370
- Some(_version) => panic!("Unsupported JSX version"),
+ Some(version) => panic!("JSX version {} is unsupported", version),
371
None => vec![],
372
},
373
0 commit comments