From e2fccef0ad1cbecd49adb91bc532ea0ed602b700 Mon Sep 17 00:00:00 2001 From: Oliver Davies Date: Sun, 23 Apr 2023 21:28:47 +0100 Subject: [PATCH] fix: remove compress plugin --- astro.config.mjs | 29 +++++++++++++++++------------ 1 file changed, 17 insertions(+), 12 deletions(-) diff --git a/astro.config.mjs b/astro.config.mjs index d39fbd64f..d021ae044 100644 --- a/astro.config.mjs +++ b/astro.config.mjs @@ -10,17 +10,22 @@ import compress from "astro-compress"; // https://astro.build/config export default defineConfig({ - integrations: [alpinejs(), mdx(), sitemap({ - serialize(item) { - // To prevent crawling errors, remove the trailing slash from the URL - // otherwise it will be a link to a redirect URL and not the content. - item.url = item.url.replace(/\/$/, ""); - return item; - } - }), tailwind({ - config: { - applyBaseStyles: false - } - }), compress()], + integrations: [ + alpinejs(), + mdx(), + sitemap({ + serialize(item) { + // To prevent crawling errors, remove the trailing slash from the URL + // otherwise it will be a link to a redirect URL and not the content. + item.url = item.url.replace(/\/$/, ""); + return item; + } + }), + tailwind({ + config: { + applyBaseStyles: false + } + }), + ], site: "https://www.oliverdavies.uk" });