diff --git a/.changeset/seven-ghosts-confess.md b/.changeset/seven-ghosts-confess.md new file mode 100644 index 000000000..2bfab1b26 --- /dev/null +++ b/.changeset/seven-ghosts-confess.md @@ -0,0 +1,6 @@ +--- +'astro': patch +'@astrojs/markdown-remark': patch +--- + +Fix: markdown imports failing due to internal dependency issue diff --git a/packages/astro/src/core/create-vite.ts b/packages/astro/src/core/create-vite.ts index 8cc0cae2f..8270028d4 100644 --- a/packages/astro/src/core/create-vite.ts +++ b/packages/astro/src/core/create-vite.ts @@ -21,6 +21,7 @@ const ALWAYS_EXTERNAL = new Set([ ...builtinModules.map((name) => `node:${name}`), '@sveltejs/vite-plugin-svelte', 'micromark-util-events-to-acorn', + '@astrojs/markdown-remark', 'serialize-javascript', 'node-fetch', 'prismjs',