Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix the env detection of server side rendering #7375

Merged
merged 1 commit into from Mar 7, 2018
Merged

Conversation

Hanks10100
Copy link
Contributor

@Hanks10100 Hanks10100 commented Jan 3, 2018

What kind of change does this PR introduce?

  • Bugfix

Does this PR introduce a breaking change?

  • No

Other information:

In Weex, global does exist, but global.process does not. I think it's more reliable to exclude Weex platform when detecting the ssr env.

[edits: minor grammar edits]

In Weex, `global` is exist, but `global.process` is not.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants