Skip to content

Commit c2caacf

Browse files
committed
Disable image processing
1 parent f8733f1 commit c2caacf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

astro.config.mjs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import path from "path";
2-
import { defineConfig } from "astro/config";
2+
import { defineConfig, passthroughImageService } from "astro/config";
33
import mdx from "@astrojs/mdx";
44
import sitemap from "@astrojs/sitemap";
55
import tailwind from "@astrojs/tailwind";
@@ -89,7 +89,6 @@ export default defineConfig({
8989
pagefind(),
9090
deleteUnusedImages(),
9191
(await import("astro-compress")).default({
92-
Image: false,
9392
SVG: false,
9493
}),
9594
],
@@ -100,5 +99,6 @@ export default defineConfig({
10099
image: {
101100
remotePatterns: [{ protocol: "https" }],
102101
domains: ["programme.europython.eu", "placehold.co"],
102+
service: passthroughImageService(),
103103
},
104104
});

0 commit comments

Comments
 (0)