fix vertx
This commit is contained in:
parent
7ebe6a6054
commit
c069d044c3
2 changed files with 10 additions and 8 deletions
|
@ -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