From b9a2192da917bd28c9add4781ff2e62f43a43e47 Mon Sep 17 00:00:00 2001 From: Surjith S M Date: Fri, 3 Feb 2023 11:09:11 +0530 Subject: [PATCH] revert config as astro recommends it for type safety. --- astro.config.mjs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/astro.config.mjs b/astro.config.mjs index 31d7fe6b3..785b966df 100644 --- a/astro.config.mjs +++ b/astro.config.mjs @@ -1,9 +1,10 @@ +import { defineConfig } from "astro/config"; import tailwind from "@astrojs/tailwind"; import image from "@astrojs/image"; import mdx from "@astrojs/mdx"; import sitemap from "@astrojs/sitemap"; -export default { +export default defineConfig({ site: "https://astroship.web3templates.com", integrations: [ tailwind(), @@ -13,4 +14,4 @@ export default { mdx(), sitemap(), ], -}; +});