diff options
| author | Ariel Costas Guerrero <ariel@costas.dev> | 2025-08-25 18:02:43 +0200 |
|---|---|---|
| committer | Ariel Costas Guerrero <ariel@costas.dev> | 2025-08-25 18:02:43 +0200 |
| commit | f0be957b0e662ac06ca8e2906309cfba5563840a (patch) | |
| tree | e798ced0ec3d6f60ee91c4e8bfdc49e3efab0a20 /astro.config.mjs | |
| parent | 4cac4f32a42c8f5a8490ed5018c30a279b1f5eb0 (diff) | |
Fix build issues
Diffstat (limited to 'astro.config.mjs')
| -rw-r--r-- | astro.config.mjs | 20 |
1 files changed, 15 insertions, 5 deletions
diff --git a/astro.config.mjs b/astro.config.mjs index b57d952..d32717e 100644 --- a/astro.config.mjs +++ b/astro.config.mjs @@ -8,13 +8,23 @@ import rehypeExternalLinks from "rehype-external-links"; import compressor from "astro-compressor"; +import icon from 'astro-icon'; + export default defineConfig({ compressHTML: true, site: "https://www.costas.dev", - integrations: [sitemap({ - priority: 0.5, - changefreq: "weekly", - }), mdx(), icon(), compressor()], + integrations: [ + sitemap({ + priority: 0.5, + changefreq: "weekly", + }), + mdx(), + icon(), + compressor({ + zstd: false, + fileExtensions: [".html", ".css", ".js", ".json", ".xml"], + }) + ], build: { assets: "assets", inlineStylesheets: "never", @@ -33,4 +43,4 @@ export default defineConfig({ ] ] } -});
\ No newline at end of file +}); |
