mirror of
https://gh-proxy.org/https://github.com/klinsmaya/gateway.git
synced 2026-11-08 00:57:59 +08:00
Cleanup build containing map files after debugging is done
This commit is contained in:
Vendored
+2
-1
@@ -35,7 +35,8 @@
|
||||
"skipFiles": ["<node_internals>/**"],
|
||||
"preLaunchTask": "npx tsc",
|
||||
"console": "integratedTerminal",
|
||||
"internalConsoleOptions": "neverOpen"
|
||||
"internalConsoleOptions": "neverOpen",
|
||||
"postDebugTask": "cleanup build"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
Vendored
+19
-1
@@ -7,12 +7,30 @@
|
||||
"type": "shell",
|
||||
"label": "npx tsc",
|
||||
"command": "npx",
|
||||
"args": ["tsc"],
|
||||
"args": [
|
||||
"tsc",
|
||||
"--sourcemap",
|
||||
"true",
|
||||
"--outDir",
|
||||
"${workspaceFolder}/build"
|
||||
],
|
||||
"problemMatcher": ["$tsc"],
|
||||
"group": {
|
||||
"kind": "build",
|
||||
"isDefault": true
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "shell",
|
||||
"label": "cleanup build",
|
||||
"command": "rm",
|
||||
"args": ["-rf", "${workspaceFolder}/build"],
|
||||
"problemMatcher": [],
|
||||
"group": "build",
|
||||
"presentation": {
|
||||
"reveal": "always",
|
||||
"panel": "new"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user