We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a7c17ac commit 5052404Copy full SHA for 5052404
webpack.config.js
@@ -11,6 +11,7 @@ const path = require('path');
11
12
const packageConfig = JSON.parse(fs.readFileSync(path.join(__dirname, 'package.json'), 'utf8'));
13
const externals = Object.keys(packageConfig.dependencies);
14
+externals.push('commonjs');
15
externals.push('vscode');
16
17
module.exports = {
@@ -19,8 +20,7 @@ module.exports = {
19
20
output: {
21
path: path.resolve(__dirname, 'dist'),
22
filename: 'extension.js',
- libraryTarget: 'umd',
23
- umdNamedDefine: true
+ libraryTarget: 'commonjs2'
24
},
25
devtool: 'source-map',
26
target: 'node',
0 commit comments