Skip to content
This repository has been archived by the owner on Aug 29, 2021. It is now read-only.

Commit

Permalink
fix: modify tsconfigs to allow working cross-dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
Levertion committed Apr 14, 2019
1 parent 1096ccc commit 1fc99a5
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
3 changes: 2 additions & 1 deletion binary-nbt/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
{
"extends": "../tsconfig.root.json",
"compilerOptions": {
"outDir": "./lib"
"outDir": "./lib",
"baseUrl": ".."
},
"include": ["./src"]
}
3 changes: 2 additions & 1 deletion result/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
{
"extends": "../tsconfig.root.json",
"compilerOptions": {
"outDir": "./lib"
"outDir": "./lib",
"baseUrl": ".."
},
"include": ["./src"]
}
6 changes: 5 additions & 1 deletion tsconfig.root.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,11 @@
"noFallthroughCasesInSwitch": true /* Report errors for fallthrough cases in switch statement. */,
"declaration": true,
/* Source Map Options */
"importHelpers": true
"importHelpers": true,
"paths": {
"binary-nbt": ["./binary-nbt/src/index.ts"],
"simple-result": ["./result/src/index.ts"]
}
},
"exclude": ["lintrules/**", "**/tests/*.ts"]
}

0 comments on commit 1fc99a5

Please sign in to comment.