fix netlify build issues
This commit is contained in:
parent
5f6cbad0f1
commit
6e814801d9
2 changed files with 9 additions and 14 deletions
|
@ -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">;
|
||||||
}
|
}
|
||||||
|
|
|
@ -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"
|
|
||||||
]
|
|
||||||
}
|
}
|
Loading…
Reference in a new issue