mirror of
https://github.com/juherr/kill-the-news.git
synced 2026-06-21 06:13:48 +00:00
f5bac1bd7d
Add jsx and jsxImportSource compiler options to enable hono/jsx server-side rendering in .tsx files without per-file JSX pragmas. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
22 lines
515 B
JSON
22 lines
515 B
JSON
{
|
|
"compilerOptions": {
|
|
"target": "ES2021",
|
|
"module": "ESNext",
|
|
"moduleResolution": "node",
|
|
"esModuleInterop": true,
|
|
"strict": true,
|
|
"lib": ["ES2021"],
|
|
"types": ["@cloudflare/workers-types"],
|
|
"outDir": "dist",
|
|
"noEmit": true,
|
|
"isolatedModules": true,
|
|
"allowJs": true,
|
|
"forceConsistentCasingInFileNames": true,
|
|
"skipLibCheck": true,
|
|
"jsx": "react-jsx",
|
|
"jsxImportSource": "hono/jsx"
|
|
},
|
|
"include": ["src/**/*"],
|
|
"exclude": ["node_modules", "dist"]
|
|
}
|