mirror of
https://github.com/withastro/astro.git
synced 2024-12-23 21:53:55 -05:00
19 lines
568 B
JSON
19 lines
568 B
JSON
|
{
|
||
|
"compilerOptions": {
|
||
|
// 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,
|
||
|
// Add type definitions for our Astro runtime.
|
||
|
"types": ["astro/client"]
|
||
|
}
|
||
|
}
|