Skip to content

Commit 7d8f3c8

Browse files
authored
Merge pull request #170 from gjsjohnmurray/fix-#169
fix #169 webpack before launch, and use correct outFiles
2 parents 71d8bb3 + b2625cb commit 7d8f3c8

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

.vscode/launch.json

+4-4
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@
1414
"stopOnEntry": false,
1515
"sourceMaps": true,
1616
"outFiles": [
17-
"${workspaceRoot}/out/**/*.js"
17+
"${workspaceRoot}/dist/**/*.js"
1818
],
19-
"preLaunchTask": "npm: watch"
19+
"preLaunchTask": "npm: webpack"
2020
},
2121
{
2222
"name": "Launch Extension",
@@ -29,9 +29,9 @@
2929
"stopOnEntry": false,
3030
"sourceMaps": true,
3131
"outFiles": [
32-
"${workspaceRoot}/out/**/*.js"
32+
"${workspaceRoot}/dist/**/*.js"
3333
],
34-
"preLaunchTask": "npm: watch"
34+
"preLaunchTask": "npm: webpack"
3535
},
3636
{
3737
"name": "Extension Tests",

webpack.config.js

+4
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,10 @@ const config = {
1515
devtool: "source-map",
1616
externals: {
1717
vscode: "commonjs vscode", // the vscode-module is created on-the-fly and must be excluded. Add other modules that cannot be webpack'ed, 📖 -> https://webpack.js.org/configuration/externals/
18+
"@opentelemetry/tracing": "commonjs @opentelemetry/tracing",
19+
"applicationinsights-native-metrics": "commonjs applicationinsights-native-metrics",
20+
bufferutil: "commonjs bufferutil",
21+
"utf-8-validate": "commonjs utf-8-validate",
1822
},
1923
resolve: {
2024
// support reading TypeScript and JavaScript files, 📖 -> https://github.com/TypeStrong/ts-loader

0 commit comments

Comments
 (0)