Open martwz opened 1 year ago
Set jsxFactory
to what solid-js uses
Hope it helps
But even with autoImportJSX
set to true
bun doesn't generate code to import the function only when tsconfig
is not set
FYI, I built a plugin to compile Solid.js with Bun - https://github.com/DaniGuardiola/bun-plugin-solid
What version of Bun is running?
0.6.13
What platform is your computer?
Darwin 22.5.0 Darwin Kernel Version 22.5.0: Mon Apr 24 20:52:24 PDT 2023; root:xnu-8796.121.2~5/RELEASE_ARM64_T6000 arm64 arm
What steps can reproduce the bug?
What is the expected behavior?
Expected
result
to be wrapped in Solidjs'sjsx
.What do you see instead?
React.createElement("div", null, "hello world")
Additional information
No response