mirror of
https://github.com/jackyzha0/quartz.git
synced 2025-12-19 10:54:06 -06:00
contentIndex: remove picocolors
This commit is contained in:
parent
fe65819cff
commit
2e00035d54
1
package-lock.json
generated
1
package-lock.json
generated
@ -35,7 +35,6 @@
|
|||||||
"mdast-util-to-string": "^4.0.0",
|
"mdast-util-to-string": "^4.0.0",
|
||||||
"micromorph": "^0.4.5",
|
"micromorph": "^0.4.5",
|
||||||
"minimatch": "^10.0.3",
|
"minimatch": "^10.0.3",
|
||||||
"picocolors": "^1.1.1",
|
|
||||||
"pixi.js": "^8.12.0",
|
"pixi.js": "^8.12.0",
|
||||||
"preact": "^10.27.0",
|
"preact": "^10.27.0",
|
||||||
"preact-render-to-string": "^6.5.13",
|
"preact-render-to-string": "^6.5.13",
|
||||||
|
|||||||
@ -61,7 +61,6 @@
|
|||||||
"mdast-util-to-string": "^4.0.0",
|
"mdast-util-to-string": "^4.0.0",
|
||||||
"micromorph": "^0.4.5",
|
"micromorph": "^0.4.5",
|
||||||
"minimatch": "^10.0.3",
|
"minimatch": "^10.0.3",
|
||||||
"picocolors": "^1.1.1",
|
|
||||||
"pixi.js": "^8.12.0",
|
"pixi.js": "^8.12.0",
|
||||||
"preact": "^10.27.0",
|
"preact": "^10.27.0",
|
||||||
"preact-render-to-string": "^6.5.13",
|
"preact-render-to-string": "^6.5.13",
|
||||||
|
|||||||
@ -8,7 +8,7 @@ import { toHtml } from "hast-util-to-html"
|
|||||||
import { write } from "./helpers"
|
import { write } from "./helpers"
|
||||||
import { i18n } from "../../i18n"
|
import { i18n } from "../../i18n"
|
||||||
import { BuildCtx } from "../../util/ctx"
|
import { BuildCtx } from "../../util/ctx"
|
||||||
import pc from "picocolors"
|
import { styleText } from "util"
|
||||||
import { ProcessedContent } from "../vfile"
|
import { ProcessedContent } from "../vfile"
|
||||||
|
|
||||||
type ContentIndex = Tree<TreeNode>
|
type ContentIndex = Tree<TreeNode>
|
||||||
@ -125,7 +125,7 @@ export const ContentIndex: QuartzEmitterPlugin<Partial<Options>> = (opts) => {
|
|||||||
)
|
)
|
||||||
) {
|
) {
|
||||||
console.warn(
|
console.warn(
|
||||||
pc.yellow(`Warning: contentIndex:
|
styleText("yellow", `Warning: contentIndex:
|
||||||
content/ folder is missing an index.md. RSS feeds and sitemap will not be generated.
|
content/ folder is missing an index.md. RSS feeds and sitemap will not be generated.
|
||||||
If you still wish to generate these files, add:
|
If you still wish to generate these files, add:
|
||||||
bypassIndexCheck: true,
|
bypassIndexCheck: true,
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user