20 lines
464 B
JSON
20 lines
464 B
JSON
//add typescript compile task
|
|
{
|
|
"version": "2.0.0",
|
|
"tasks": [
|
|
{
|
|
"label": "Compile TypeScript",
|
|
"type": "shell",
|
|
//make sure to run the other task
|
|
"dependsOn": [
|
|
"Compile TypeScript for web"
|
|
],
|
|
"command": "npx tsc -p tsconfig.json",
|
|
"group": "build",
|
|
"presentation": {
|
|
"reveal": "always"
|
|
}
|
|
}
|
|
]
|
|
}
|