Skip to content

Commit

Permalink
docs(cookbook/graphql): fix systemjs import for apollo-client
Browse files Browse the repository at this point in the history
  • Loading branch information
Urigo committed Feb 20, 2017
1 parent 629e49e commit 6a229b6
Showing 1 changed file with 3 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
System.config({

map: {
'apollo-client': 'npm:apollo-client',
'apollo-client-rxjs': 'npm:apollo-client-rxjs',
'apollo-angular': 'npm:apollo-angular',
'apollo-client': 'npm:apollo-client/lib/bundles/apollo.umd.js',
'apollo-client-rxjs': 'npm:apollo-client-rxjs/build/bundles/apollo-rxjs.umd.js',
'apollo-angular': 'npm:apollo-angular/build/bundles/apollo.umd.js',

'graphql': 'npm:graphql',
'whatwg-fetch': 'npm:whatwg-fetch',
Expand Down Expand Up @@ -61,11 +61,6 @@ System.config({
'lodash._basecopy': 'npm:lodash._basecopy'
},
packages: {

'apollo-client': { main: './index.js', defaultExtension: 'js' },
'apollo-client-rxjs': { main: './build/src/index.js', defaultExtension: 'js' },
'apollo-angular': { main: './build/bundles/apollo.umd.js', defaultExtension: 'js' },

'whatwg-fetch': { main: './fetch.js', defaultExtension: 'js' },
'redux': { format: 'cjs', defaultExtension: 'js' },
'graphql-tag': { main: './index.js', defaultExtension: 'js' },
Expand Down

0 comments on commit 6a229b6

Please sign in to comment.