34 lines
895 B
JSON
34 lines
895 B
JSON
{
|
|
"version": "2.0.0",
|
|
"tasks": [
|
|
{
|
|
"type": "npm",
|
|
"label": "npm: dev - extension",
|
|
"script": "dev",
|
|
"problemMatcher": "$tsc-watch",
|
|
"isBackground": true,
|
|
"presentation": {
|
|
"reveal": "never"
|
|
},
|
|
"path": "extension/",
|
|
"group": {
|
|
"kind": "build",
|
|
"isDefault": true
|
|
}
|
|
},
|
|
{
|
|
"type": "npm",
|
|
"label": "npm: build - extension",
|
|
// Deliberately the ROOT package.json's "build" script (data-extraction
|
|
// -> webview -> extension, in that order), not extension/'s own build
|
|
// script -- the extension's webpack just *copies* whatever is already
|
|
// sitting in webview/dist (via the node_modules/debug-visualizer-webview
|
|
// symlink) into its own bundle rather than rebuilding it. Scoping this
|
|
// task to extension/ alone silently ships a stale webview bundle.
|
|
"script": "build",
|
|
"problemMatcher": [],
|
|
"group": "build"
|
|
}
|
|
]
|
|
}
|