Skip to content

Commit

Permalink
changes for precompile-jsx
Browse files Browse the repository at this point in the history
  • Loading branch information
bartlomieju committed Oct 24, 2023
1 parent e3e13e5 commit 5019863
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -907,6 +907,8 @@ impl ConfigFile {
}
return Ok(None);
}
Some("precompile") => "jsx-runtime".to_string(),
Some("precompile-dev") => "jsx-dev-runtime".to_string(),
Some(setting) => bail!(
"Unsupported 'jsx' compiler option value '{}'. Supported: 'react-jsx', 'react-jsxdev', 'react'\n at {}",
setting,
Expand Down

0 comments on commit 5019863

Please sign in to comment.