You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
target: 'node',// VS Code extensions run in a Node.js-context 📖 -> https://webpack.js.org/configuration/node/
13
-
mode: 'none',// this leaves the source code as close as possible to the original (when packaging we set this to 'production')
14
+
mode: 'none',// this leaves the source code as close as possible to the original (when packaging we set this to 'production')
14
15
15
16
entry: './src/extension.ts',// the entry point of this extension, 📖 -> https://webpack.js.org/configuration/entry-context/
16
17
output: {
17
18
// the bundle is stored in the 'dist' folder (check package.json), 📖 -> https://webpack.js.org/configuration/output/
18
19
path: path.resolve(__dirname,'dist'),
19
20
filename: 'extension.js',
20
-
libraryTarget: 'commonjs2'
21
+
libraryTarget: 'commonjs2',
21
22
},
22
23
externals: {
23
-
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/
24
+
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/
24
25
// modules added here also need to be added in the .vscodeignore file
25
26
},
26
27
resolve: {
27
28
// support reading TypeScript and JavaScript files, 📖 -> https://github.com/TypeStrong/ts-loader
28
-
extensions: ['.ts','.js']
29
+
extensions: ['.ts','.js'],
29
30
},
30
31
module: {
31
32
rules: [
@@ -34,15 +35,20 @@ const extensionConfig = {
34
35
exclude: /node_modules/,
35
36
use: [
36
37
{
37
-
loader: 'ts-loader'
38
-
}
39
-
]
40
-
}
41
-
]
38
+
loader: 'ts-loader',
39
+
},
40
+
],
41
+
},
42
+
],
42
43
},
43
44
devtool: 'nosources-source-map',
44
45
infrastructureLogging: {
45
-
level: "log",// enables logging required for problem matchers
46
+
level: 'log',// enables logging required for problem matchers
0 commit comments