File tree Expand file tree Collapse file tree 2 files changed +1238
-2100
lines changed
Expand file tree Collapse file tree 2 files changed +1238
-2100
lines changed Original file line number Diff line number Diff line change @@ -22,7 +22,11 @@ const config: Config = {
2222 trailingSlash : false ,
2323
2424 onBrokenLinks : 'throw' ,
25- onBrokenMarkdownLinks : 'warn' ,
25+ markdown : {
26+ hooks : {
27+ onBrokenMarkdownLinks : 'warn' ,
28+ } ,
29+ } ,
2630
2731 // Even if you don't use internationalization, you can use this field to set
2832 // useful metadata like html lang. For example, if your site is Chinese, you
@@ -161,6 +165,22 @@ const config: Config = {
161165 } satisfies Preset . ThemeConfig ,
162166
163167 plugins : [
168+ function nodePolyfillPlugin ( ) {
169+ return {
170+ name : 'node-polyfill-plugin' ,
171+ configureWebpack ( ) {
172+ return {
173+ resolve : {
174+ fallback : {
175+ path : false ,
176+ fs : false ,
177+ os : false ,
178+ } ,
179+ } ,
180+ } ;
181+ } ,
182+ } ;
183+ } ,
164184 [
165185 'docusaurus-plugin-openapi-docs' ,
166186 {
You can’t perform that action at this time.
0 commit comments