diff options
| author | Ariel Costas Guerrero <ariel@costas.dev> | 2025-08-25 17:56:18 +0200 |
|---|---|---|
| committer | Ariel Costas Guerrero <ariel@costas.dev> | 2025-08-25 17:56:24 +0200 |
| commit | 4cac4f32a42c8f5a8490ed5018c30a279b1f5eb0 (patch) | |
| tree | ba1b15ac95dfa1c9153e044e20dc44c8a92f073e /astro.config.mjs | |
| parent | 05713943f7dfeae0c064900dc27a21369b195e89 (diff) | |
Add compression plugin
Diffstat (limited to 'astro.config.mjs')
| -rw-r--r-- | astro.config.mjs | 16 |
1 files changed, 7 insertions, 9 deletions
diff --git a/astro.config.mjs b/astro.config.mjs index b4fe6c6..b57d952 100644 --- a/astro.config.mjs +++ b/astro.config.mjs @@ -6,17 +6,15 @@ import mdx from "@astrojs/mdx"; import icon from "astro-icon"; import rehypeExternalLinks from "rehype-external-links"; +import compressor from "astro-compressor"; + export default defineConfig({ compressHTML: true, site: "https://www.costas.dev", - integrations: [ - sitemap({ - priority: 0.5, - changefreq: "weekly", - }), - mdx(), - icon(), - ], + integrations: [sitemap({ + priority: 0.5, + changefreq: "weekly", + }), mdx(), icon(), compressor()], build: { assets: "assets", inlineStylesheets: "never", @@ -35,4 +33,4 @@ export default defineConfig({ ] ] } -}); +});
\ No newline at end of file |
