Skip to content

Commit

Permalink
Fix: markdown imports failing (#3444)
Browse files Browse the repository at this point in the history
* fix: revert JSX expression hack (temporary!)

* chore: changeset

* fix: skip stray JSX expression test

* Revert "fix: skip stray JSX expression test"

This reverts commit fd3042d.

* Revert "fix: revert JSX expression hack (temporary!)"

This reverts commit b78883f.

* fix: add markdown-remark to external deps!
  • Loading branch information
bholmesdev authored May 26, 2022
1 parent f200dda commit 51db2b9
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .changeset/seven-ghosts-confess.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
'astro': patch
'@astrojs/markdown-remark': patch
---

Fix: markdown imports failing due to internal dependency issue
1 change: 1 addition & 0 deletions packages/astro/src/core/create-vite.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down

0 comments on commit 51db2b9

Please sign in to comment.