diff --git a/.vscode/launch.json b/.vscode/launch.json index 6fb2cbe5..9eeb9e33 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -12,7 +12,7 @@ "runtimeExecutable": "${execPath}", "args": ["--extensionDevelopmentPath=${workspaceFolder}"], "outFiles": ["${workspaceFolder}/dist/**/*.js"], - "preLaunchTask": "webpackBuild", + "preLaunchTask": "buildAll", "sourceMaps": true }, { diff --git a/.vscode/tasks.json b/.vscode/tasks.json index f2075bc5..caef9554 100644 --- a/.vscode/tasks.json +++ b/.vscode/tasks.json @@ -30,6 +30,26 @@ "runOptions": { "instanceLimit": 1 } + }, + { + "label": "webviewBuild", + "type": "npm", + "script": "webview:build", + "problemMatcher": [], + "presentation": { + "echo": true, + "reveal": "silent", + "focus": false, + "panel": "shared", + "showReuseMessage": false, + "clear": true + } + }, + { + "label": "buildAll", + "dependsOrder": "sequence", + "dependsOn": ["webviewBuild", "webpackBuild"], + "problemMatcher": [] } ], "inputs": [