Skip to content

Commit 201a7af

Browse files
committed
Create subproject
1 parent 53e4202 commit 201a7af

File tree

5 files changed

+10
-4
lines changed

5 files changed

+10
-4
lines changed
File renamed without changes.

src/hello/hello.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { LogFn, message } from 'main/const'
1+
import { LogFn, message } from './const'
22

33
export const hello: LogFn = () => {
44
console.log(message);

src/hello/tsconfig.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"extends": "../../tsconfig-base.json",
3+
"references": [],
4+
"include": ["."]
5+
}

src/main/tsconfig.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
22
"extends": "../../tsconfig-base.json",
3-
"references": [],
4-
"include": [".", "../hello"]
3+
"references": [{ "path": "../hello" }],
4+
"include": ["."]
55
}

tsconfig.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
"files": [],
33
"include": [],
44
"references": [
5-
{ "path": "./src/main" }
5+
{ "path": "./src/main" },
6+
{ "path": "./src/hello" }
67
]
78
}

0 commit comments

Comments
 (0)