summaryrefslogtreecommitdiff
path: root/examples/framework-preact
diff options
context:
space:
mode:
Diffstat (limited to 'examples/framework-preact')
-rw-r--r--examples/framework-preact/tsconfig.json14
1 files changed, 2 insertions, 12 deletions
diff --git a/examples/framework-preact/tsconfig.json b/examples/framework-preact/tsconfig.json
index 766e72684..bdd1b5a88 100644
--- a/examples/framework-preact/tsconfig.json
+++ b/examples/framework-preact/tsconfig.json
@@ -1,18 +1,8 @@
{
+ "extends": "astro/tsconfigs/base",
"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,
- // Astro will directly run your TypeScript code, no transpilation needed.
- "noEmit": true
+ "jsxImportSource": "preact"
}
}