File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -16,17 +16,17 @@ export default defineNuxtModule({
1616
1717 nuxt . hook ( 'modules:done' , ( ) => {
1818 // @ts -expect-error -- TODO: fix types
19- nuxt . options . llms ||= { }
20- // @ts -expect-error -- TODO: fix types
21- nuxt . options . llms . contentRawMarkdown = defu ( nuxt . options . llms . contentRawMarkdown , {
19+ const contentRawMarkdown = nuxt . options . llms ?. contentRawMarkdown === false ? false : defu ( nuxt . options . llms . contentRawMarkdown , {
2220 excludeCollections : [ ] ,
2321 } )
22+ // @ts -expect-error -- TODO: fix types
23+ nuxt . options . llms ||= { }
24+ // @ts -expect-error -- TODO: fix types
25+ nuxt . options . llms . contentRawMarkdown = contentRawMarkdown
2426
2527 nuxt . options . runtimeConfig . llms ||= { }
2628 // @ts -expect-error -- TODO: fix types
27- nuxt . options . runtimeConfig . llms . contentRawMarkdown = defu ( nuxt . options . llms . contentRawMarkdown , {
28- excludeCollections : [ ] ,
29- } )
29+ nuxt . options . runtimeConfig . llms . contentRawMarkdown = contentRawMarkdown
3030 } )
3131
3232 const typeTemplate = addTypeTemplate ( {
You can’t perform that action at this time.
0 commit comments