From bdd288b25ccb9cac3e864cc58395082140339d6b Mon Sep 17 00:00:00 2001 From: Mark Wiemer Date: Sun, 18 Aug 2024 14:34:10 -0700 Subject: [PATCH] Fixup build step --- .vscode/launch.json | 2 +- .vscode/tasks.json | 4 ++-- package.json | 1 + 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.vscode/launch.json b/.vscode/launch.json index 5765feea..28b0ef3d 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -26,7 +26,7 @@ "request": "launch", "args": ["--extensionDevelopmentPath=${workspaceRoot}"], // "outFiles": ["${workspaceRoot}/out/**/*.js"], - "preLaunchTask": "dev" + "preLaunchTask": "build:dev" }, { "name": "Test Extension", diff --git a/.vscode/tasks.json b/.vscode/tasks.json index 59980f6c..45e9a144 100644 --- a/.vscode/tasks.json +++ b/.vscode/tasks.json @@ -3,9 +3,9 @@ "version": "2.0.0", "tasks": [ { - "label": "dev", + "label": "build:dev", "type": "npm", - "script": "dev", + "script": "build:dev", "group": "build", "isBackground": true, "problemMatcher": [ diff --git a/package.json b/package.json index 306a429f..1ce108a2 100644 --- a/package.json +++ b/package.json @@ -42,6 +42,7 @@ ], "scripts": { "build": "node build.mjs --mode=production", + "build:dev": "node build.mjs", "clean:all": "npm run clean:dist && npm run clean:language && npm run clean:out", "clean:dist": "del-cli dist", "clean:language": "del-cli language/*.tmLanguage.json",