Skip to content

Commit b4a9249

Browse files
fix: maybe it was svg?
1 parent 491ff4b commit b4a9249

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

astro.config.ts

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,13 @@ export default defineConfig({
2727
exclude: ["@resvg/resvg-js"],
2828
},
2929
},
30+
image: {
31+
// Used for all Markdown images; not configurable per-image
32+
// Used for all `<Image />` and `<Picture />` components unless overridden with a prop
33+
experimentalLayout: "responsive",
34+
},
3035
experimental: {
31-
svg: true,
36+
responsiveImages: true,
3237
preserveScriptOrder: true,
3338
},
3439
});

0 commit comments

Comments
 (0)