|
10 | 10 | "--extensionDevelopmentPath=${workspaceRoot}"
|
11 | 11 | ],
|
12 | 12 | "sourceMaps": true,
|
13 |
| - "outDir": "${workspaceRoot}/out", |
| 13 | + "outFiles": [ |
| 14 | + "${workspaceRoot}/src/**/*.js" |
| 15 | + ], |
14 | 16 | "preLaunchTask": "build"
|
15 | 17 | },
|
16 | 18 | {
|
|
22 | 24 | "--extensionDevelopmentPath=${workspaceRoot}"
|
23 | 25 | ],
|
24 | 26 | "sourceMaps": true,
|
25 |
| - "outDir": "${workspaceRoot}/out", |
| 27 | + "outFiles": [ |
| 28 | + "${workspaceRoot}/src/**/*.js" |
| 29 | + ], |
26 | 30 | "preLaunchTask": "quick-build"
|
27 | 31 | },
|
28 | 32 | {
|
|
38 | 42 | "--server=4712"
|
39 | 43 | ], // Use "debugServer": "4712", on launch.json of the instance to debug
|
40 | 44 | "sourceMaps": true,
|
41 |
| - "outDir": "${workspaceRoot}/out", |
| 45 | + "outFiles": [ |
| 46 | + "${workspaceRoot}/src/**/*.js" |
| 47 | + ], |
42 | 48 | "preLaunchTask": "quick-build"
|
43 | 49 | },
|
44 | 50 | {
|
|
54 | 60 | "--server=4712"
|
55 | 61 | ], // Use "debugServer": "4712", on launch.json of the instance to debug
|
56 | 62 | "sourceMaps": true,
|
57 |
| - "outDir": "${workspaceRoot}/out", |
| 63 | + "outFiles": [ |
| 64 | + "${workspaceRoot}/src/**/*.js" |
| 65 | + ], |
58 | 66 | "preLaunchTask": "build"
|
59 | 67 | },
|
60 | 68 | {
|
|
69 | 77 | "--nolazy"
|
70 | 78 | ],
|
71 | 79 | "sourceMaps": true,
|
72 |
| - "outDir": "${workspaceRoot}/SampleApplication/.vscode/.react/" |
| 80 | + "outFiles": [ |
| 81 | + "${workspaceRoot}/SampleApplication/.vscode/.react/**/*.js" |
| 82 | + ] |
73 | 83 | },
|
74 | 84 | {
|
75 | 85 | "name": "Sample - iOS App",
|
|
83 | 93 | "--nolazy"
|
84 | 94 | ],
|
85 | 95 | "sourceMaps": true,
|
86 |
| - "outDir": "${workspaceRoot}/SampleApplication/.vscode/.react/" |
| 96 | + "outFiles": [ |
| 97 | + "${workspaceRoot}/SampleApplication/.vscode/.react/**/*.js" |
| 98 | + ] |
87 | 99 | },
|
88 | 100 | {
|
89 | 101 | "name": "Sample - Android Extension",
|
|
97 | 109 | "--nolazy"
|
98 | 110 | ],
|
99 | 111 | "sourceMaps": true,
|
100 |
| - "outDir": "${workspaceRoot}/out/" |
| 112 | + "outFiles": [ |
| 113 | + "${workspaceRoot}/src/**/*.js" |
| 114 | + ] |
101 | 115 | },
|
102 | 116 | {
|
103 | 117 | "name": "Sample - iOS Extension",
|
|
111 | 125 | "--nolazy"
|
112 | 126 | ],
|
113 | 127 | "sourceMaps": true,
|
114 |
| - "outDir": "${workspaceRoot}/out/" |
| 128 | + "outFiles": [ |
| 129 | + "${workspaceRoot}/src/**/*.js" |
| 130 | + ] |
115 | 131 | },
|
116 | 132 | {
|
117 | 133 | "name": "Launch Tests",
|
|
120 | 136 | "runtimeExecutable": "${execPath}",
|
121 | 137 | "args": [
|
122 | 138 | "--extensionDevelopmentPath=${workspaceRoot}",
|
123 |
| - "--extensionTestsPath=${workspaceRoot}/out/test" |
| 139 | + "--extensionTestsPath=${workspaceRoot}/test" |
124 | 140 | ],
|
125 | 141 | "stopOnEntry": false,
|
126 | 142 | "sourceMaps": true,
|
127 |
| - "outDir": "${workspaceRoot}/out", |
| 143 | + "outFiles": [ |
| 144 | + "${workspaceRoot}/src/**/*.js" |
| 145 | + ], |
128 | 146 | "preLaunchTask": "build"
|
129 | 147 | },
|
130 | 148 | {
|
131 | 149 | "name": "Run mocha",
|
132 |
| - "type": "node2", |
| 150 | + "type": "node", |
| 151 | + "protocol": "inspector", |
133 | 152 | "program": "${workspaceRoot}/node_modules/mocha/bin/_mocha",
|
134 | 153 | "stopOnEntry": false,
|
135 | 154 | // Command line arguments passed to the program.
|
136 | 155 | "args": [
|
137 | 156 | "--ui",
|
138 | 157 | "tdd",
|
139 | 158 | // "--grep", "patternToFilterTestsBy",
|
140 |
| - "out/test/debugger/**/*.test.js", |
141 |
| - "out/test/common/**/*.test.js" |
| 159 | + "test/debugger/**/*.test.js", |
| 160 | + "test/common/**/*.test.js" |
142 | 161 | ],
|
143 | 162 | "cwd": "${workspaceRoot}",
|
144 | 163 | "runtimeExecutable": null,
|
145 | 164 | "env": {
|
146 | 165 | "NODE_ENV": "development"
|
147 | 166 | },
|
148 |
| - "sourceMaps": true, |
149 |
| - "outDir": "${workspaceRoot}/out" |
| 167 | + "outFiles": [ |
| 168 | + "${workspaceRoot}/src/**/*.js" |
| 169 | + ], |
| 170 | + "sourceMaps": true |
150 | 171 | }
|
151 | 172 | ],
|
152 | 173 | "compounds": [
|
|
0 commit comments