fix: add github-slugger to ALWAYS_EXTERNAL (#3902)

* fix: add github-slugger to ALWAYS_EXTERNAL

* chore: changeset
This commit is contained in:
Ben Holmes 2022-07-12 14:28:14 -04:00 committed by GitHub
parent 0751be81e5
commit d8af02a944
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 0 deletions

View file

@ -0,0 +1,5 @@
---
'astro': patch
---
Fix: markdown "require is not defined" issue

View file

@ -21,6 +21,8 @@ const ALWAYS_EXTERNAL = new Set([
'@sveltejs/vite-plugin-svelte',
'micromark-util-events-to-acorn',
'@astrojs/markdown-remark',
// in-lined for markdown modules
'github-slugger',
'node-fetch',
'prismjs',
'shiki',