From 6e814801d92c3d2bb7a159cb69e69073c6eefe98 Mon Sep 17 00:00:00 2001 From: chark1es Date: Sun, 17 Mar 2024 22:39:29 -0700 Subject: [PATCH] fix netlify build issues --- src/pages/supercomputing/[...slug].astro | 2 +- tsconfig.json | 21 ++++++++------------- 2 files changed, 9 insertions(+), 14 deletions(-) diff --git a/src/pages/supercomputing/[...slug].astro b/src/pages/supercomputing/[...slug].astro index 2d9186e..9ba6545 100644 --- a/src/pages/supercomputing/[...slug].astro +++ b/src/pages/supercomputing/[...slug].astro @@ -1,7 +1,7 @@ --- const { post } = Astro.props; -import { CollectionEntry, getCollection } from "astro:content"; +import { type CollectionEntry, getCollection } from "astro:content"; export interface Props { post: CollectionEntry<"supercomputing">; } diff --git a/tsconfig.json b/tsconfig.json index a4d897a..72511cd 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,14 +1,9 @@ { - "extends": "astro/tsconfigs/base", - "compilerOptions": { - "allowSyntheticDefaultImports": true, - "jsx": "react-jsx", - "jsxImportSource": "preact" - }, - "exclude": [ - "node_modules", - "**/node_modules/*", - ".vscode", - "dist" - ] -} \ No newline at end of file + "extends": "astro/tsconfigs/base", + "compilerOptions": { + "allowSyntheticDefaultImports": true, + "jsx": "react-jsx", + "jsxImportSource": "preact" + }, + "exclude": ["node_modules", "**/node_modules/*", ".vscode", "dist"] +}