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

[2.0] Remove Node dependencies for edge environments #1387

Merged
merged 5 commits into from
Sep 1, 2018

Conversation

martijnwalraven
Copy link
Contributor

@martijnwalraven martijnwalraven commented Jul 20, 2018

This PR removes some Node dependencies to allow Apollo Server to run in edge environments like Cloudflare Workers and fly.io.

Because apollo-upload-server requires Node, we only import it when uploads are enabled and don't export GraphQLUpload from the apollo-server-cloudflare package. We currently configure bundling for edge to skip apollo-upload-server, but we should find a more principled way to avoid the dependency.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant