We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3319fbb commit 26d5357Copy full SHA for 26d5357
src/core/util/env.js
@@ -41,7 +41,7 @@ export const isServerRendering = () => {
41
if (!inBrowser && !inWeex && typeof global !== 'undefined') {
42
// detect presence of vue-server-renderer and avoid
43
// Webpack shimming the process
44
- _isServer = global['process'].env.VUE_ENV === 'server'
+ _isServer = global['process'] && global['process'].env.VUE_ENV === 'server'
45
} else {
46
_isServer = false
47
}
0 commit comments