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

External dependency warning after upgrade to @apollo/client #67

Closed
imCorfitz opened this issue Oct 28, 2020 · 2 comments
Closed

External dependency warning after upgrade to @apollo/client #67

imCorfitz opened this issue Oct 28, 2020 · 2 comments

Comments

@imCorfitz
Copy link

How to configure Rollup in order to avoid this?

Screenshot 2020-10-28 at 15 49 40

@andres-mestra
Copy link

andres-mestra commented Nov 12, 2020

I fixed the bug with:

 import {ApolloClient, InMemoryCache, HttpLink,} from '@apollo/client/core';

importing only the core

@imCorfitz
Copy link
Author

There we go! Easy as 𝛑! Yesterday I merged a PR imCorfitz/sapper-w-svelte-apollo#7 which also did exactly this, so yeah. Awesome!

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

No branches or pull requests

2 participants