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(client): graphql module is not required for runtime #102

Merged
merged 1 commit into from
Jul 8, 2023

Conversation

enisdenjo
Copy link
Member

@enisdenjo enisdenjo commented Jul 8, 2023

Client imports the utils.ts which imports a GraphQLError instance therefore including it in the bundle. But actually the graphql module is only necessary for the handler/server.

@enisdenjo enisdenjo merged commit 9049f31 into main Jul 8, 2023
@enisdenjo enisdenjo deleted the no-graphql-client branch July 8, 2023 12:38
enisdenjo pushed a commit that referenced this pull request Jul 17, 2023
# [1.21.0](v1.20.0...v1.21.0) (2023-07-17)

### Bug Fixes

* **client:** `graphql` module is not required for runtime ([#102](#102)) ([9049f31](9049f31))

### Features

* Use Netlify Functions ([#96](#96)) ([2b1ab14](2b1ab14))
@enisdenjo
Copy link
Member Author

🎉 This PR is included in version 1.21.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

@enisdenjo enisdenjo added the released Has been released and published label Jul 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
released Has been released and published
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant