Merge pull request #7 from Deilan/vscode-task-build
Added `build` `preLaunchTask` for debug configuration
This commit is contained in:
Коммит
6ffb63fe0b
|
@ -3,8 +3,7 @@
|
|||
// Hover to view descriptions of existing attributes.
|
||||
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
|
||||
"version": "0.2.0",
|
||||
"configurations": [
|
||||
|
||||
"configurations": [
|
||||
{
|
||||
"type": "node",
|
||||
"request": "launch",
|
||||
|
@ -14,6 +13,7 @@
|
|||
"outFiles": [
|
||||
"../dist/**/*.js"
|
||||
],
|
||||
"preLaunchTask": "build",
|
||||
"protocol": "inspector"
|
||||
}
|
||||
]
|
||||
|
|
|
@ -0,0 +1,15 @@
|
|||
{
|
||||
// See https://go.microsoft.com/fwlink/?LinkId=733558
|
||||
// for the documentation about the tasks.json format
|
||||
"version": "0.1.0",
|
||||
"command": "npm",
|
||||
"isShellCommand": true,
|
||||
"showOutput": "always",
|
||||
"suppressTaskName": true,
|
||||
"tasks": [
|
||||
{
|
||||
"taskName": "build",
|
||||
"args": ["run", "build"]
|
||||
}
|
||||
]
|
||||
}
|
Загрузка…
Ссылка в новой задаче