Skip to content

Commit d48495f

Browse files
committed
Tweak webpack settings.
1 parent b89a587 commit d48495f

File tree

2 files changed

+3
-6
lines changed

2 files changed

+3
-6
lines changed

build/webpack/webpack.extension.config.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,8 @@ const config = {
3939
loader: 'ts-loader'
4040
}
4141
]
42-
}
42+
},
43+
{ test: /\.node$/, loader: 'node-loader' },
4344
]
4445
},
4546
externals: ['vscode', 'commonjs', ...existingModulesInOutDir],

build/webpack/webpack.extension.dependencies.config.js

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,7 @@ const config = {
2020
node: {
2121
__dirname: false
2222
},
23-
module: {
24-
rules: [
25-
{ test: /\.node$/, loader: 'node-loader' },
26-
]
27-
},
23+
module: {},
2824
externals: ['vscode', 'commonjs'],
2925
plugins: [
3026
...common.getDefaultPlugins('dependencies'),

0 commit comments

Comments
 (0)