feat: init projects with jsx precompile (#2506)
This commit is contained in:
+9
-1
@@ -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",
|
||||
],
|
||||
},
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user