fix: 构建失败。
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Ivan Li 2022-10-07 23:09:30 +08:00
parent f1bbe539a7
commit 2ee5810930
3 changed files with 2 additions and 2 deletions

View File

@ -62,7 +62,7 @@ export async function getFileBySlug<T>(type: 'authors' | 'blog', slug: string |
source, source,
// mdx imports can be automatically source from the components directory // mdx imports can be automatically source from the components directory
cwd: path.join(root, 'components'), cwd: path.join(root, 'components'),
xdmOptions(options, frontmatter) { mdxOptions(options, frontmatter) {
// this is the recommended way to add custom remark/rehype plugins: // this is the recommended way to add custom remark/rehype plugins:
// The syntax might look weird, but it protects you in case we add/remove // The syntax might look weird, but it protects you in case we add/remove
// plugins in the future. // plugins in the future.

BIN
package-lock.json generated

Binary file not shown.

View File

@ -59,7 +59,7 @@
"eslint-config-prettier": "^8.5.0", "eslint-config-prettier": "^8.5.0",
"eslint-plugin-prettier": "^4.2.1", "eslint-plugin-prettier": "^4.2.1",
"file-loader": "^6.2.0", "file-loader": "^6.2.0",
"globby": "13.1.2", "globby": "11.0.3",
"husky": "^8.0.1", "husky": "^8.0.1",
"inquirer": "^9.1.3", "inquirer": "^9.1.3",
"lint-staged": "^13.0.3", "lint-staged": "^13.0.3",