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 = '', - - - + +