Skip to content
This repository was archived by the owner on Dec 4, 2017. It is now read-only.

Commit 1396be9

Browse files
committed
docs(cookbook/graphql): fix systemjs import for apollo-client
1 parent b2507a2 commit 1396be9

File tree

1 file changed

+3
-8
lines changed

1 file changed

+3
-8
lines changed

public/docs/_examples/heroes-graphql/ts/systemjs.config.extras.js

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33
System.config({
44

55
map: {
6-
'apollo-client': 'npm:apollo-client',
7-
'apollo-client-rxjs': 'npm:apollo-client-rxjs',
8-
'apollo-angular': 'npm:apollo-angular',
6+
'apollo-client': 'npm:apollo-client/lib/bundles/apollo.umd.js',
7+
'apollo-client-rxjs': 'npm:apollo-client-rxjs/build/bundles/apollo-rxjs.umd.js',
8+
'apollo-angular': 'npm:apollo-angular/build/bundles/apollo.umd.js',
99

1010
'graphql': 'npm:graphql',
1111
'whatwg-fetch': 'npm:whatwg-fetch',
@@ -61,11 +61,6 @@ System.config({
6161
'lodash._basecopy': 'npm:lodash._basecopy'
6262
},
6363
packages: {
64-
65-
'apollo-client': { main: './index.js', defaultExtension: 'js' },
66-
'apollo-client-rxjs': { main: './build/src/index.js', defaultExtension: 'js' },
67-
'apollo-angular': { main: './build/bundles/apollo.umd.js', defaultExtension: 'js' },
68-
6964
'whatwg-fetch': { main: './fetch.js', defaultExtension: 'js' },
7065
'redux': { format: 'cjs', defaultExtension: 'js' },
7166
'graphql-tag': { main: './index.js', defaultExtension: 'js' },

0 commit comments

Comments
 (0)