summaryrefslogtreecommitdiff
path: root/examples/framework-solid
diff options
context:
space:
mode:
authorGravatar Erika <3019731+Princesseuh@users.noreply.github.com> 2022-08-25 16:15:27 -0300
committerGravatar GitHub <noreply@github.com> 2022-08-25 15:15:27 -0400
commit77ce6be30c9cb8054ebf69a4943b984eed90152e (patch)
tree072b174b98172818575cba8da3557336525c3f8a /examples/framework-solid
parentfcc36ac908429733b1d9e51caddbc7590f9eeea5 (diff)
downloadastro-77ce6be30c9cb8054ebf69a4943b984eed90152e.tar.gz
astro-77ce6be30c9cb8054ebf69a4943b984eed90152e.tar.zst
astro-77ce6be30c9cb8054ebf69a4943b984eed90152e.zip
Add template tsconfigs for users to extend from (#4439)
* Add tsconfig templates to extend from * Add changeset * Right order for assign parameters * Add tsconfigs to export map
Diffstat (limited to 'examples/framework-solid')
-rw-r--r--examples/framework-solid/tsconfig.json12
1 files changed, 1 insertions, 11 deletions
diff --git a/examples/framework-solid/tsconfig.json b/examples/framework-solid/tsconfig.json
index 807b3fac7..cb2c53c66 100644
--- a/examples/framework-solid/tsconfig.json
+++ b/examples/framework-solid/tsconfig.json
@@ -1,18 +1,8 @@
{
+ "extends": "astro/tsconfigs/base",
"compilerOptions": {
// Solid specific settings
"jsx": "preserve",
"jsxImportSource": "solid-js",
- // 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
}
}