Browse Source

fix typescript compiler watch path inconsistency (#5155)

bbenshalom 7 tháng trước cách đây
mục cha
commit
edce187c03
2 tập tin đã thay đổi với 1 bổ sung2 xóa
  1. 1 1
      src/package.json
  2. 0 1
      src/tsconfig.json

+ 1 - 1
src/package.json

@@ -353,7 +353,7 @@
 		"vsix": "mkdirp ../bin && vsce package --no-dependencies --out ../bin",
 		"publish:marketplace": "vsce publish --no-dependencies && ovsx publish --no-dependencies",
 		"watch:bundle": "pnpm bundle --watch",
-		"watch:tsc": "tsc --noEmit --watch --project tsconfig.json",
+		"watch:tsc": "cd .. && tsc --noEmit --watch --project src/tsconfig.json",
 		"clean": "rimraf README.md CHANGELOG.md LICENSE dist mock .turbo"
 	},
 	"dependencies": {

+ 0 - 1
src/tsconfig.json

@@ -13,7 +13,6 @@
 		"noImplicitReturns": true,
 		"noUnusedLocals": false,
 		"resolveJsonModule": true,
-		"rootDir": ".",
 		"skipLibCheck": true,
 		"sourceMap": true,
 		"strict": true,