fix netlify build issues

This commit is contained in:
chark1es 2024-03-17 22:39:29 -07:00
parent 5f6cbad0f1
commit 6e814801d9
2 changed files with 9 additions and 14 deletions

View file

@ -1,7 +1,7 @@
--- ---
const { post } = Astro.props; const { post } = Astro.props;
import { CollectionEntry, getCollection } from "astro:content"; import { type CollectionEntry, getCollection } from "astro:content";
export interface Props { export interface Props {
post: CollectionEntry<"supercomputing">; post: CollectionEntry<"supercomputing">;
} }

View file

@ -1,14 +1,9 @@
{ {
"extends": "astro/tsconfigs/base", "extends": "astro/tsconfigs/base",
"compilerOptions": { "compilerOptions": {
"allowSyntheticDefaultImports": true, "allowSyntheticDefaultImports": true,
"jsx": "react-jsx", "jsx": "react-jsx",
"jsxImportSource": "preact" "jsxImportSource": "preact"
}, },
"exclude": [ "exclude": ["node_modules", "**/node_modules/*", ".vscode", "dist"]
"node_modules", }
"**/node_modules/*",
".vscode",
"dist"
]
}