Skip to content

Commit d45b6fc

Browse files
committed
Skip image processing.
1 parent 708c79e commit d45b6fc

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

astro.config.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { defineConfig } from "astro/config";
1+
import { defineConfig, passthroughImageService } from "astro/config";
22
import tailwind from "@astrojs/tailwind";
33
import react from "@astrojs/react";
44
import remarkToc from "remark-toc";
@@ -24,6 +24,10 @@ export default defineConfig({
2424
react(),
2525
sitemap(),
2626
],
27+
image: {
28+
// see https://docs.astro.build/en/reference/errors/missing-sharp/
29+
service: passthroughImageService(),
30+
},
2731
markdown: {
2832
remarkPlugins: [
2933
remarkToc,

0 commit comments

Comments
 (0)