Skip to content

Commit d768094

Browse files
committed
Add VS Code build task
1 parent f7e5dd9 commit d768094

File tree

2 files changed

+18
-1
lines changed

2 files changed

+18
-1
lines changed

.vscode/settings.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,9 @@
22
"typescript.tsdk": "node_modules\\typescript\\lib",
33
"javascript.preferences.importModuleSpecifierEnding": "js",
44
"typescript.preferences.importModuleSpecifierEnding": "js",
5-
"js/ts.implicitProjectConfig.module": "NodeNext"
5+
"js/ts.implicitProjectConfig.module": "NodeNext",
6+
"terminal.integrated.automationProfile.windows": {
7+
"path": "pwsh.exe",
8+
"icon": "terminal-powershell"
9+
}
610
}

.vscode/tasks.json

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,19 @@
77
"problemMatcher": "$eslint-stylish",
88
"label": "npm: lint",
99
"detail": "eslint src/index.ts"
10+
},
11+
{
12+
"type": "typescript",
13+
"tsconfig": "tsconfig.build.json",
14+
"option": "watch",
15+
"problemMatcher": [
16+
"$tsc-watch"
17+
],
18+
"group": {
19+
"kind": "build",
20+
"isDefault": true
21+
},
22+
"label": "tsc: watch - tsconfig.build.json"
1023
}
1124
]
1225
}

0 commit comments

Comments
 (0)