Add pnpm install preLaunchTask and task

This commit is contained in:
shamoon
2026-03-18 10:33:56 -07:00
parent 75b01bec9a
commit 3d1be51ed4
2 changed files with 22 additions and 0 deletions

1
.vscode/launch.json vendored
View File

@@ -3,6 +3,7 @@
{
"name": "Debug homepage",
"type": "node",
"preLaunchTask": "pnpm install",
"request": "launch",
"runtimeExecutable": "pnpm",
"runtimeArgs": ["run", "dev"],

21
.vscode/tasks.json vendored Normal file
View File

@@ -0,0 +1,21 @@
{
"version": "2.0.0",
"tasks": [
{
"type": "shell",
"label": "pnpm install",
"command": "pnpm install",
"group": {
"kind": "build",
"isDefault": true
},
"presentation": {
"clear": true,
"panel": "shared",
"showReuseMessage": false
},
"problemMatcher": []
}
]
}