2021-08-13 23:31:44 +00:00
|
|
|
{
|
2021-12-27 03:39:30 +00:00
|
|
|
"compilerOptions": {
|
2022-04-28 15:42:55 +00:00
|
|
|
// Preact specific settings
|
|
|
|
"jsx": "react-jsx",
|
|
|
|
"jsxImportSource": "preact",
|
|
|
|
// Enable top-level await, and other modern ESM features.
|
|
|
|
"target": "ESNext",
|
|
|
|
"module": "ESNext",
|
|
|
|
// Enable node-style module resolution, for things like npm package imports.
|
|
|
|
"moduleResolution": "node",
|
|
|
|
// Enable JSON imports.
|
|
|
|
"resolveJsonModule": true,
|
|
|
|
// Enable stricter transpilation for better output.
|
|
|
|
"isolatedModules": true,
|
2022-08-05 21:46:52 +00:00
|
|
|
// Astro will directly run your TypeScript code, no transpilation needed.
|
|
|
|
"noEmit": true
|
2021-12-27 03:39:30 +00:00
|
|
|
}
|
2021-08-13 23:32:55 +00:00
|
|
|
}
|