We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 811d056 commit a2ac6beCopy full SHA for a2ac6be
packages/@vue/cli-service/lib/config/base.js
@@ -92,8 +92,9 @@ module.exports = (api, options) => {
92
// prevent webpack from injecting useless setImmediate polyfill because Vue
93
// source contains it (although only uses it if it's native).
94
setImmediate: false,
95
- // process is injected via DefinePlugin
96
- process: false,
+ // process is injected via DefinePlugin, although some 3rd party
+ // libraries may require a mock to work properly (#934)
97
+ process: 'mock',
98
// prevent webpack from injecting mocks to Node native modules
99
// that does not make sense for the client
100
dgram: 'empty',
0 commit comments