From f398eb58e70eb6225c3e8efdc15f72c28f7998bb Mon Sep 17 00:00:00 2001 From: Nikola Hristov Date: Mon, 14 Aug 2023 18:39:23 +0300 Subject: [PATCH 1/3] Update astro.config.mjs Fixes settings for AstroCompress as they were pascal cased in the later version. --- astro.config.mjs | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/astro.config.mjs b/astro.config.mjs index 02f5715..e4ac4cb 100644 --- a/astro.config.mjs +++ b/astro.config.mjs @@ -64,15 +64,14 @@ export default defineConfig({ tasks(), compress({ - css: true, - html: { + CSS: true, + HTML: { removeAttributeQuotes: false, }, - img: false, - js: true, - svg: true, - - logger: 1, + Image: false, + JavaScript: true, + SVG: true, + Logger: 1, }), ], From c9017422787cbeb0a2739b5fa5340ea3e2d349e7 Mon Sep 17 00:00:00 2001 From: Nikola Hristov Date: Mon, 14 Aug 2023 18:40:47 +0300 Subject: [PATCH 2/3] Update astro.config.mjs --- astro.config.mjs | 3 --- 1 file changed, 3 deletions(-) diff --git a/astro.config.mjs b/astro.config.mjs index e4ac4cb..a2a9af1 100644 --- a/astro.config.mjs +++ b/astro.config.mjs @@ -64,13 +64,10 @@ export default defineConfig({ tasks(), compress({ - CSS: true, HTML: { removeAttributeQuotes: false, }, Image: false, - JavaScript: true, - SVG: true, Logger: 1, }), ], From 829e21c07639307e1df147981f2d3c1c2f6d5e50 Mon Sep 17 00:00:00 2001 From: Nikola Hristov Date: Mon, 14 Aug 2023 19:38:15 +0300 Subject: [PATCH 3/3] Update astro.config.mjs --- astro.config.mjs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/astro.config.mjs b/astro.config.mjs index a2a9af1..e4ac4cb 100644 --- a/astro.config.mjs +++ b/astro.config.mjs @@ -64,10 +64,13 @@ export default defineConfig({ tasks(), compress({ + CSS: true, HTML: { removeAttributeQuotes: false, }, Image: false, + JavaScript: true, + SVG: true, Logger: 1, }), ],