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 f8733f1 commit c2caacfCopy full SHA for c2caacf
astro.config.mjs
@@ -1,5 +1,5 @@
1
import path from "path";
2
-import { defineConfig } from "astro/config";
+import { defineConfig, passthroughImageService } from "astro/config";
3
import mdx from "@astrojs/mdx";
4
import sitemap from "@astrojs/sitemap";
5
import tailwind from "@astrojs/tailwind";
@@ -89,7 +89,6 @@ export default defineConfig({
89
pagefind(),
90
deleteUnusedImages(),
91
(await import("astro-compress")).default({
92
- Image: false,
93
SVG: false,
94
}),
95
],
@@ -100,5 +99,6 @@ export default defineConfig({
100
99
image: {
101
remotePatterns: [{ protocol: "https" }],
102
domains: ["programme.europython.eu", "placehold.co"],
+ service: passthroughImageService(),
103
},
104
});
0 commit comments