mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-26 03:29:00 +01:00
adopt web extensions to webpack 5
This commit is contained in:
@@ -19,10 +19,12 @@ const config = withDefaults({
|
||||
output: {
|
||||
filename: 'jsonClientMain.js',
|
||||
path: path.join(__dirname, 'client', 'dist', 'node')
|
||||
}
|
||||
},
|
||||
plugins: [
|
||||
...withDefaults.getNodePlugins(__dirname),
|
||||
new webpack.IgnorePlugin({ contextRegExp: /vertx/})
|
||||
]
|
||||
});
|
||||
|
||||
// add plugin, don't replace inherited
|
||||
config.plugins.push(new webpack.IgnorePlugin(/vertx/)); // request-light dependency
|
||||
|
||||
module.exports = config;
|
||||
|
||||
Reference in New Issue
Block a user