Skip to content

error occor with jsx-vapor, note: run with RUST_BACKTRACE=1 environment variable to display a backtrace #36

@8797110103-8955

Description

@8797110103-8955

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions