mirror of
https://github.com/Microsoft/vscode
synced 2024-08-25 03:56:03 +00:00
fix vertx
This commit is contained in:
parent
7ebe6a6054
commit
c069d044c3
|
@ -20,10 +20,11 @@ const config = withDefaults({
|
|||
filename: 'jsonClientMain.js',
|
||||
path: path.join(__dirname, 'client', 'dist', 'node')
|
||||
},
|
||||
plugins: [
|
||||
...withDefaults.getNodePlugins(__dirname),
|
||||
new webpack.IgnorePlugin({ contextRegExp: /vertx/})
|
||||
]
|
||||
resolve: {
|
||||
fallback: {
|
||||
vertx: false // indirectly required by request-light
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
|
|
|
@ -20,10 +20,11 @@ const config = withDefaults({
|
|||
filename: 'jsonServerMain.js',
|
||||
path: path.join(__dirname, 'dist', 'node'),
|
||||
},
|
||||
plugins: [
|
||||
...withDefaults.getNodePlugins(__dirname), // add plugin, don't replace inherited
|
||||
new webpack.IgnorePlugin({ contextRegExp: /vertx/})
|
||||
]
|
||||
resolve: {
|
||||
fallback: {
|
||||
vertx: false // indirectly required by request-light
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
module.exports = config;
|
||||
|
|
Loading…
Reference in a new issue