We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I don't know how to let bun parse JSX syntax inside *.civet.
I have bunfig.toml setup as described here.
I have this file.
console.log <a>h</a>
When I try to run it with bun init.civet, it says
bun init.civet
❯ bun init.civet 1 | console.log(<a>h</a>) ^ error: Syntax Error!! at /home/user/meta/www.self/init.civet:1:18 Bun v1.1.15 (Linux x64)
My tsconfig.json is like this:
{ "compilerOptions": { "jsx": "react-jsx", "jsxImportSource": "solid-js", } }
The text was updated successfully, but these errors were encountered:
this also doesn't work as bunfig.toml
jsx = "react-jsx" jsxImportSource = "solid-js" preload = ["@danielx/civet/bun-civet"]
Sorry, something went wrong.
I found civetman + Deno working better 👍
The original issue seems to be a bug in Bun: oven-sh/bun#4519
It looks like we could work around it using an explicit Transpiler. Probably worth doing until this gets fixed in Bun.
Transpiler
No branches or pull requests
I don't know how to let bun parse JSX syntax inside *.civet.
I have bunfig.toml setup as described here.
I have this file.
When I try to run it with
bun init.civet
, it saysMy tsconfig.json is like this:
The text was updated successfully, but these errors were encountered: