无法找到如何将tasks.json 0.1.0更改为tasks.json 2.0.0
的任何正常示例我有代码
{
// See https://go.microsoft.com/fwlink/?LinkId=733558
// for the documentation about the tasks.json format
"version": "0.1.0",
"command": "gulp",
"isShellCommand": true,
"args": ["--no-color"],
"showOutput": "always",
"tasks": [
{
"taskName": "sass",
"isBuildCommand": true,
"showOutput": "always"
},
{
"taskName": "sass:watch",
"isBuildCommand": true,
"showOutput": "always"
}
]
}
我尝试在2.0.0版本中创建相同版本,但不明白如何。
简单的方式,如
{
"version": "2.0.0",
"tasks": [
{
"type": "gulp",
"task": "sass",
"label": "newsass"
}
]
}
无效