2021-08-13 18:31:44 -05:00
|
|
|
{
|
2021-12-26 22:39:30 -05:00
|
|
|
"compilerOptions": {
|
2022-04-28 10:42:55 -05: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,
|
|
|
|
// Add type definitions for our Vite runtime.
|
|
|
|
"types": ["vite/client"]
|
2021-12-26 22:39:30 -05:00
|
|
|
}
|
2021-08-13 18:32:55 -05:00
|
|
|
}
|