File tree Expand file tree Collapse file tree 2 files changed +3
-0
lines changed
Expand file tree Collapse file tree 2 files changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -8,6 +8,7 @@ import fs from 'node:fs/promises'
88import rehypeDocument from 'rehype-document'
99import rehypeMeta from 'rehype-meta'
1010import rehypePresetMinify from 'rehype-preset-minify'
11+ import rehypePreventFaviconRequest from 'rehype-prevent-favicon-request'
1112import rehypeStringify from 'rehype-stringify'
1213import { unified } from 'unified'
1314import rehypeDefer from '../plugin/rehype-defer.js'
@@ -66,6 +67,7 @@ export const main = unified()
6667 } )
6768 . use ( rehypeDefer )
6869 . use ( rehypePresetMinify )
70+ . use ( rehypePreventFaviconRequest )
6971 . use ( move )
7072 . use ( mkdir )
7173 . use ( rehypeStringify )
Original file line number Diff line number Diff line change 5353 "rehype-meta" : " ^4.0.0" ,
5454 "rehype-parse" : " ^9.0.0" ,
5555 "rehype-preset-minify" : " ^7.0.0" ,
56+ "rehype-prevent-favicon-request" : " ^4.0.0" ,
5657 "rehype-raw" : " ^7.0.0" ,
5758 "rehype-remark" : " ^10.0.0" ,
5859 "rehype-sanitize" : " ^6.0.0" ,
You can’t perform that action at this time.
0 commit comments