Skip to content

Commit

Permalink
🐞 fix(vercel-deploy-tool): 复用 tsconfig.md.json 工具,解决本包内部的md报错。
Browse files Browse the repository at this point in the history
  • Loading branch information
ruan-cat committed Nov 27, 2024
1 parent 796b007 commit 7c27dc4
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
5 changes: 5 additions & 0 deletions packages/vercel-deploy-tool/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
{
"extends": "../../tsconfig.base.json",
"references": [
{
"path": "../../tsconfig.md.json"
}
],
"compilerOptions": {
"target": "ESNext",
"module": "ESNext",
Expand Down
4 changes: 3 additions & 1 deletion tsconfig.md.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@
// 为全部的md文件提供识别配置
"extends": "./tsconfig.base.json",
"compilerOptions": {
"baseUrl": "./"
"baseUrl": "./",
// 本文件被其他的 tsconfig.json 组合 ,用于提供md配置,避免其他包的md文件报错。
"composite": true
},
"include": [
// 匹配本项目内全部的md文件
Expand Down

0 comments on commit 7c27dc4

Please sign in to comment.