2022-06-11 20:49:24 +02:00
|
|
|
//add typescript compile task
|
|
|
|
{
|
|
|
|
"version": "2.0.0",
|
|
|
|
"tasks": [
|
|
|
|
{
|
|
|
|
"label": "Compile TypeScript",
|
|
|
|
"type": "shell",
|
2022-06-12 12:41:52 +02:00
|
|
|
//make sure to run the other task
|
|
|
|
"dependsOn": [
|
|
|
|
"Compile TypeScript for web"
|
|
|
|
],
|
|
|
|
"command": "npx tsc -p tsconfig.json",
|
2022-06-11 20:49:24 +02:00
|
|
|
"group": "build",
|
|
|
|
"presentation": {
|
|
|
|
"reveal": "always"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|