feat: init projects with jsx precompile (#2506)

This commit is contained in:
Marvin Hagemeister
2024-06-08 08:07:18 +02:00
committed by GitHub
parent fe26b8e2ff
commit 0ceab6b8a9
+9 -1
View File
@@ -522,8 +522,16 @@ if (Deno.args.includes("build")) {
} as Record<string, string>,
compilerOptions: {
lib: ["dom", "dom.asynciterable", "deno.ns"],
jsx: "react-jsx",
jsx: "precompile",
jsxImportSource: "preact",
jsxPrecompileSkipElements: [
"a",
"img",
"source",
"body",
"html",
"head",
],
},
};