Surpress react/jsx-runtime errors: Bugfix

This commit is contained in:
Benjamin Toby 2026-03-25 16:09:18 +01:00
parent 764e8f76f0
commit 6a024faece
3 changed files with 5 additions and 3 deletions

View File

@ -57,7 +57,8 @@ export default async function allPagesESBuildContextBundler(params) {
"react", "react",
"react-dom", "react-dom",
"react-dom/client", "react-dom/client",
// "react/jsx-runtime", "react/jsx-runtime",
"react/jsx-dev-runtime",
], ],
}); });
await global.BUNDLER_CTX.rebuild(); await global.BUNDLER_CTX.rebuild();

View File

@ -2,7 +2,7 @@
"name": "@moduletrace/bunext", "name": "@moduletrace/bunext",
"module": "index.ts", "module": "index.ts",
"type": "module", "type": "module",
"version": "1.0.36", "version": "1.0.37",
"main": "dist/index.js", "main": "dist/index.js",
"types": "dist/index.d.ts", "types": "dist/index.d.ts",
"exports": { "exports": {

View File

@ -80,7 +80,8 @@ export default async function allPagesESBuildContextBundler(params?: Params) {
"react", "react",
"react-dom", "react-dom",
"react-dom/client", "react-dom/client",
// "react/jsx-runtime", "react/jsx-runtime",
"react/jsx-dev-runtime",
], ],
}); });