|
// We keep the origin jsx here. |
|
// swc_util_build_jsx(&mut program, &build_options, Some(&location)).unwrap(); |
But there is jsx field in the Options struct:
|
/// Whether to keep JSX (default: `false`). |
|
/// |
|
/// The default is to compile JSX away so that the resulting file is |
|
/// immediately runnable. |
|
pub jsx: bool, |
mdx-rs/crates/mdx_rs/src/lib.rs
Lines 132 to 133 in d5f454c
But there is
jsxfield in theOptionsstruct:mdx-rs/crates/mdx_rs/src/configuration.rs
Lines 184 to 188 in d5f454c