From 632c2a84a74e91db60f3b2ad953941b816b3e559 Mon Sep 17 00:00:00 2001 From: prototypa Date: Sun, 6 Aug 2023 15:42:46 -0400 Subject: [PATCH] Remove astro-compress (was deleted from npm) until alternative --- astro.config.mjs | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) diff --git a/astro.config.mjs b/astro.config.mjs index 19d9c33..45b7e43 100644 --- a/astro.config.mjs +++ b/astro.config.mjs @@ -9,7 +9,7 @@ import image from '@astrojs/image'; import mdx from '@astrojs/mdx'; import icon from 'astro-icon'; import partytown from '@astrojs/partytown'; -import compress from 'astro-compress'; + import { readingTimeRemarkPlugin } from './src/utils/frontmatter.mjs'; import { SITE_CONFIG, ANALYTICS_CONFIG } from './src/utils/config.ts'; @@ -64,18 +64,6 @@ export default defineConfig({ config: { forward: ['dataLayer.push'] }, }) ), - - compress({ - css: true, - html: { - removeAttributeQuotes: false, - }, - img: false, - js: true, - svg: false, - - logger: 1, - }), ], markdown: {