Unverified Commit 04c33cab authored by Hong Minhee's avatar Hong Minhee
Browse files

`compilerOptions` of Hono template for Deno

parent 70218bf2
Loading
Loading
Loading
Loading
+15 −10
Original line number Diff line number Diff line
@@ -741,7 +741,12 @@ Deno.serve(
);
`,
        },
        compilerOptions: runtime === "deno" ? undefined : {
        compilerOptions: runtime === "deno"
          ? {
            "jsx": "precompile",
            "jsxImportSource": "hono/jsx",
          }
          : {
            "lib": ["ESNext", "DOM"],
            "target": "ESNext",
            "module": "NodeNext",