Skip to content

Commit 9af74e4

Browse files
committed
Uses a composite build for typescript
1 parent 8a851f4 commit 9af74e4

File tree

4 files changed

+16
-4
lines changed

4 files changed

+16
-4
lines changed

package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@
88
"packages/*"
99
],
1010
"scripts": {
11-
"build": "yarn workspaces run build",
12-
"test": "CI=true yarn workspaces run test"
11+
"build": "tsc -b",
12+
"test": "CI=true yarn workspaces run test",
13+
"watch": "tsc -b -watch"
1314
}
1415
}

packages/language-server/tsconfig.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
"declaration": true,
99
"outDir": "dist",
1010
"esModuleInterop": true,
11-
"sourceMap": true
11+
"sourceMap": true,
12+
"composite":true
1213
}
1314
}

packages/svelte-vscode/tsconfig.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
"strict": true,
88
"declaration": true,
99
"outDir": "dist",
10-
"sourceMap": true
10+
"sourceMap": true,
11+
"composite": true
1112
}
1213
}

tsconfig.json

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
{
2+
"references": [
3+
{ "path": "./packages/language-server" },
4+
{ "path": "./packages/svelte-vscode" }
5+
],
6+
"files": [],
7+
"include": [],
8+
"exclude": ["**/node_modules"]
9+
}

0 commit comments

Comments
 (0)