my code is all write in tsx,
normally use vue 3.6.x + @vitejs/plugin-vue-jsx to build.
when i change to
import vueJsxVapor from "vue-jsx-vapor/vite";
export const basicConfig = {
get plugins() {
if (plugins.length === 0)
plugins = [
aliasWithTsconfig({ cwd: root }),
// @ts-ignore
vueJsxVapor({ macros: true }), // same with options or null
pollyfill()
];
return plugins;
}
}
will report me with:
thread '<unnamed>' (24860) panicked at C:\Users\runneradmin\.cargo\git\checkouts\oxc-35af26dd473e1f70\c9fed4e\crates\oxc_ast\src\ast\jsx.rs:261:1:
called `Option::unwrap()` on a `None` value
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace