diff --git a/init/src/init.ts b/init/src/init.ts index 0bc33f69..c13ac9a7 100644 --- a/init/src/init.ts +++ b/init/src/init.ts @@ -522,8 +522,16 @@ if (Deno.args.includes("build")) { } as Record, compilerOptions: { lib: ["dom", "dom.asynciterable", "deno.ns"], - jsx: "react-jsx", + jsx: "precompile", jsxImportSource: "preact", + jsxPrecompileSkipElements: [ + "a", + "img", + "source", + "body", + "html", + "head", + ], }, };