这是indexloc提供的服务,不要输入任何密码
Skip to content

Conversation

@nelonoel
Copy link
Contributor

Assuming the document global variable exists can cause build errors on static pre-renderers. Added a simple typeof check before initialization.

Here's a related document on GatsbyJS' website:
https://www.gatsbyjs.org/docs/debugging-html-builds

@robdodson robdodson merged commit 21875bf into WICG:master Apr 25, 2018
@robdodson
Copy link
Collaborator

Thank you!

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.

2 participants