|
|
@@ -41,7 +41,7 @@ export const isServerRendering = () => {
|
|
|
if (!inBrowser && !inWeex && typeof global !== 'undefined') {
|
|
|
// detect presence of vue-server-renderer and avoid
|
|
|
// Webpack shimming the process
|
|
|
- _isServer = global['process'].env.VUE_ENV === 'server'
|
|
|
+ _isServer = global['process'] && global['process'].env.VUE_ENV === 'server'
|
|
|
} else {
|
|
|
_isServer = false
|
|
|
}
|