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