summaryrefslogtreecommitdiff
path: root/.vscode
diff options
context:
space:
mode:
authorKirill Dubovitskiy <kirill2003de@gmail.com>2023-08-08 22:50:49 -0700
committerKirill Dubovitskiy <kirill2003de@gmail.com>2023-08-08 22:59:22 -0700
commit7c049df2e487972d031f74737182f7d5a631466e (patch)
tree37d7ce10c12458ecc86d05f5d288f7a1284dc2ea /.vscode
parent5295d1214be20f49aeb7d525420b880e5721b87e (diff)
downloadsncontinue-7c049df2e487972d031f74737182f7d5a631466e.tar.gz
sncontinue-7c049df2e487972d031f74737182f7d5a631466e.tar.bz2
sncontinue-7c049df2e487972d031f74737182f7d5a631466e.zip
Fixing up react-app build
- Added to the build step in the vscode-extension:build task - Added inline source maps so its easier to track down issues when using console.log / debugger in chrome dev tools within vscode
Diffstat (limited to '.vscode')
-rw-r--r--.vscode/tasks.json16
1 files changed, 16 insertions, 0 deletions
diff --git a/.vscode/tasks.json b/.vscode/tasks.json
index c15edf0d..1a29668b 100644
--- a/.vscode/tasks.json
+++ b/.vscode/tasks.json
@@ -7,6 +7,8 @@
"dependsOn": [
// To detect compile errors
"vscode-extension:tsc",
+ // To build the react-app that is used in the extension
+ "vscode-extension:continue-ui:build",
// To bundle the code the same way we do for publishing
"vscode-extension:esbuild"
],
@@ -50,6 +52,20 @@
"clear": true,
},
},
+ // Build the react-app. It gets bundled into the extension as a file resource and has a seprate build step
+ {
+ "label": "vscode-extension:continue-ui:build",
+ "type": "npm",
+ "script": "build",
+ "path": "extension/react-app",
+ "problemMatcher": [
+ "$tsc"
+ ],
+ "presentation": {
+ "revealProblems": "onProblem",
+ "clear": true,
+ },
+ },
//
// Compile and bundle tests
{