fix: add github-slugger to ALWAYS_EXTERNAL (#3902)
* fix: add github-slugger to ALWAYS_EXTERNAL * chore: changeset
This commit is contained in:
parent
0751be81e5
commit
d8af02a944
2 changed files with 7 additions and 0 deletions
5
.changeset/giant-bugs-battle.md
Normal file
5
.changeset/giant-bugs-battle.md
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
---
|
||||||
|
'astro': patch
|
||||||
|
---
|
||||||
|
|
||||||
|
Fix: markdown "require is not defined" issue
|
|
@ -21,6 +21,8 @@ const ALWAYS_EXTERNAL = new Set([
|
||||||
'@sveltejs/vite-plugin-svelte',
|
'@sveltejs/vite-plugin-svelte',
|
||||||
'micromark-util-events-to-acorn',
|
'micromark-util-events-to-acorn',
|
||||||
'@astrojs/markdown-remark',
|
'@astrojs/markdown-remark',
|
||||||
|
// in-lined for markdown modules
|
||||||
|
'github-slugger',
|
||||||
'node-fetch',
|
'node-fetch',
|
||||||
'prismjs',
|
'prismjs',
|
||||||
'shiki',
|
'shiki',
|
||||||
|
|
Loading…
Reference in a new issue