@astrojs/markdoc 0.12.2 → 0.12.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -239,6 +239,7 @@ async function emitOptimizedImages(nodeChildren, ctx) {
239
239
  const src = await emitESMImage(
240
240
  resolved.id,
241
241
  ctx.pluginContext.meta.watchMode,
242
+ !!ctx.astroConfig.experimental.svg,
242
243
  ctx.pluginContext.emitFile
243
244
  );
244
245
  const fsPath = resolved.id;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@astrojs/markdoc",
3
3
  "description": "Add support for Markdoc in your Astro site",
4
- "version": "0.12.2",
4
+ "version": "0.12.3",
5
5
  "type": "module",
6
6
  "types": "./dist/index.d.ts",
7
7
  "author": "withastro",
@@ -72,8 +72,8 @@
72
72
  "devalue": "^5.1.1",
73
73
  "linkedom": "^0.18.5",
74
74
  "vite": "^6.0.1",
75
- "astro": "5.0.4",
76
- "astro-scripts": "0.0.14"
75
+ "astro-scripts": "0.0.14",
76
+ "astro": "5.0.5"
77
77
  },
78
78
  "engines": {
79
79
  "node": "^18.17.1 || ^20.3.0 || >=22.0.0"