18 lines
566 B
JSON
18 lines
566 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 Vite runtime.
|
|
"types": ["vite/client"]
|
|
}
|
|
}
|