Skip to content

Commit 542b5d3

Browse files
committed
Rewatch: JSX 3 is unsupported
1 parent fdf00a7 commit 542b5d3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rewatch/src/config.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -364,7 +364,7 @@ impl Config {
364364
pub fn get_jsx_args(&self) -> Vec<String> {
365365
match self.jsx.to_owned() {
366366
Some(jsx) => match jsx.version {
367-
Some(version) if version == 3 || version == 4 => {
367+
Some(version) if version == 4 => {
368368
vec!["-bs-jsx".to_string(), version.to_string()]
369369
}
370370
Some(_version) => panic!("Unsupported JSX version"),

0 commit comments

Comments
 (0)