mirror of
https://github.com/bitwarden/cli
synced 2025-12-06 04:23:19 +00:00
fix issue with ws module for jsdom
This commit is contained in:
@@ -66,8 +66,14 @@ const config = {
|
||||
filename: '[name].js',
|
||||
path: path.resolve(__dirname, 'build'),
|
||||
},
|
||||
module: { rules: moduleRules },
|
||||
module: {
|
||||
rules: moduleRules,
|
||||
// ref: https://github.com/socketio/socket.io-client/issues/933
|
||||
noParse: /ws/,
|
||||
},
|
||||
plugins: plugins,
|
||||
// ref: https://github.com/socketio/socket.io-client/issues/933
|
||||
externals: ['ws'],
|
||||
};
|
||||
|
||||
module.exports = config;
|
||||
|
||||
Reference in New Issue
Block a user