Refactor code structure for improved readability and maintainability
This commit is contained in:
3
.vscode/launch.json
vendored
3
.vscode/launch.json
vendored
@@ -53,7 +53,8 @@
|
||||
"HOT_RELOAD": "",
|
||||
"USE_DEV_UI": ""
|
||||
},
|
||||
"outFiles": ["${workspaceFolder}/extension/dist/**/*.js"]
|
||||
"outFiles": ["${workspaceFolder}/extension/dist/**/*.js"],
|
||||
"preLaunchTask": "npm: build - extension"
|
||||
},
|
||||
{
|
||||
"name": "Run Extension (Dev UI)",
|
||||
|
||||
13
.vscode/tasks.json
vendored
13
.vscode/tasks.json
vendored
@@ -15,6 +15,19 @@
|
||||
"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"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user