We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5705818 commit 3ae76a9Copy full SHA for 3ae76a9
1 file changed
astro.config.mjs
@@ -3,7 +3,7 @@ import { defineConfig } from "astro/config";
3
import tailwindcss from "@tailwindcss/vite";
4
import sitemap from "@astrojs/sitemap";
5
// Image optimization is built into Astro 5.x - no separate package needed
6
-import { compression } from "vite-plugin-compression";
+// Compression is handled by Cloudflare Pages automatically
7
8
9
@@ -19,14 +19,7 @@ export default defineConfig({
19
domains: ["images.unsplash.com"], // Allow external images
20
},
21
vite: {
22
- plugins: [
23
- tailwindcss(),
24
- compression({
25
- algorithm: "gzip",
26
- ext: ".gz",
27
- deleteOriginFile: false,
28
- }),
29
- ],
+ plugins: [tailwindcss()],
30
server: {
31
fs: {
32
strict: true,
0 commit comments