aboutsummaryrefslogtreecommitdiff
path: root/astro.config.mjs
diff options
context:
space:
mode:
Diffstat (limited to 'astro.config.mjs')
-rw-r--r--astro.config.mjs20
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
+});