Skip to content

Commit

Permalink
migrate tsconfig
Browse files Browse the repository at this point in the history
  • Loading branch information
naotiki committed Dec 25, 2024
1 parent f4b71f6 commit c595c50
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
1 change: 1 addition & 0 deletions src/content.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,5 @@ import { docsLoader } from "@astrojs/starlight/loaders";

export const collections = {
docs: defineCollection({ loader: docsLoader(), schema: docsSchema() }),

};
13 changes: 11 additions & 2 deletions tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,18 @@
{
"extends": "astro/tsconfigs/strict",
"include": [
".astro/types.d.ts",
"**/*"
],
"exclude": [
"dist"
],
"compilerOptions": {
"baseUrl": ".",
"paths": {
"@/*": ["src/*"]
"@/*": [
"src/*"
]
}
}
}
}

0 comments on commit c595c50

Please sign in to comment.