Skip to content

Feature: Add Bun.js support#151

Merged
yandeu merged 1 commit intonanojsx:masterfrom
lanten:master
Aug 11, 2025
Merged

Feature: Add Bun.js support#151
yandeu merged 1 commit intonanojsx:masterfrom
lanten:master

Conversation

@lanten
Copy link
Copy Markdown
Contributor

@lanten lanten commented Jul 26, 2025

In Bun.js v1.2.19, importing nano-jsx@0.1.0 and running bun run --watch does not work properly and results in the following error:

error: Cannot find module 'nano-jsx/lib/jsx-dev-runtime' from 'D:\Desktop\workspace\bun-hono-template\src\core\response\react-ssr.res.tsx'

And

SyntaxError: Export named 'jsxDEV' not found in module 'D:\Desktop\workspace\bun-hono-template\node_modules\nano-jsx\esm\jsx-runtime\index.js'.
       at loadAndEvaluateModule (1:11)

The issue was caused by the missing jsx-dev-runtime. I have fixed this problem and verified it works with @lanten233/nano-jsx
.

Please evaluate its impact.

@yandeu yandeu merged commit aec42a2 into nanojsx:master Aug 11, 2025
6 of 11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants