Open damienflament opened 3 months ago
@cqh963852, could you take a look at this issue?
The path to jsx-runtime.js is defined in package.json.
Could it be that esbuild is using an old specification for path lookup?
Maybe this line should be adjusted
"require": "./src/index.js",
"import": "./src/index.js",
"types": "./src/jsx-runtime.d.ts"
I checked the history, this should be a modification error
Hi !
I'm configuring Vite to transform JSX using vanjs-jsx.
It's a JavaScript project so I don't do configuration in the tsconfig.json file but in vite.config.js :
It's working fine using the development server. But when building, vanjs-jsx/jsx-runtime is not found.
Patching the package using Yarn by adding the missing file fix the issue.
Thanks.