From fddfb8eb5f32cee80d788421acf1b834c7709edc Mon Sep 17 00:00:00 2001 From: radishzzz Date: Mon, 20 Jan 2025 22:14:43 +0000 Subject: [PATCH] test: meta theme-color issue --- astro.config.ts | 6 ++++++ src/components/Head.astro | 5 ++--- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/astro.config.ts b/astro.config.ts index b02d5f0..bfa0370 100644 --- a/astro.config.ts +++ b/astro.config.ts @@ -67,6 +67,12 @@ export default defineConfig({ removeComments: true, removeEmptyAttributes: true, removeRedundantAttributes: true, + minifyCSS: true, + minifyJS: true, + removeScriptTypeAttributes: true, + removeStyleLinkTypeAttributes: true, + sortAttributes: true, + sortClassName: true, }, }, }), diff --git a/src/components/Head.astro b/src/components/Head.astro index 27d348a..8440827 100644 --- a/src/components/Head.astro +++ b/src/components/Head.astro @@ -27,9 +27,8 @@ const { cdn, commentURL = '', imageHostURL = '', customGoogleAnalyticsURL = '', - - - + +