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

Enable SSR for webworker target #51

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

vimwitch
Copy link

@vimwitch vimwitch commented Jan 28, 2021

What kind of change does this PR introduce?

This enables SSR when the target is either node or webworker. The webworker environment does not have a global document and as a result fails to build. This is applicable for SSR in cloudflare workers.

Did you add tests for your changes?
No

If relevant, did you update the README?
Yes

Summary
Enable SSR in webworker targets for use in cloudflare workers.

Does this PR introduce a breaking change?

No

Other information

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

1 participant