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

exports is not defined #104

Closed
Shyam-Chen opened this issue Jun 21, 2017 · 1 comment
Closed

exports is not defined #104

Shyam-Chen opened this issue Jun 21, 2017 · 1 comment

Comments

@Shyam-Chen
Copy link

Shyam-Chen commented Jun 21, 2017

graphql-tag version: 2.4.0
module bundler: Rollup

import ApolloClient, { createNetworkInterface } from 'apollo-client';
import gql from 'graphql-tag';  // exports is not defined

const client = new ApolloClient({
  networkInterface: createNetworkInterface({
    uri: 'https://web-go-demo.herokuapp.com/__/graphql'
  })
});

client.query({
    query: gql`
      {
        users {
          name
        }
      }
    `
  })
  .then(res => console.log(res));
@jnwng
Copy link
Contributor

jnwng commented Jun 27, 2017

closing in favor of #107

@jnwng jnwng closed this as completed Jun 27, 2017
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