mirror of
https://github.com/withastro/astro.git
synced 2024-12-23 21:53:55 -05:00
21869a614a
* Move client types into Astro * Adds a changeset * Fix path to local client * Reference vite/client in our HMR types * Add back in the expect-error * Update types comment
18 lines
568 B
JSON
18 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"]
|
|
}
|
|
}
|