File tree 1 file changed +12
-0
lines changed
1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -119,6 +119,18 @@ directly on this branch:
119
119
npm install graphql@git://github.com/graphql/graphql-js.git#npm
120
120
```
121
121
122
+ ### Using in a Browser
123
+
124
+ GraphQL.js is a general purpose library and can be used both in a Node server
125
+ and in the browser. As an example, the [ GraphiQL] ( https://github.com/graphql/graphiql/ )
126
+ tool is built with GraphQL.js!
127
+
128
+ Building a project using GraphQL.js with [ webpack] ( https://webpack.js.org ) or
129
+ [ rollup] ( https://github.com/rollup/rollup ) should just work and only include
130
+ the portions of the library you use. This works because GraphQL.js is distributed
131
+ with both CommonJS (` require() ` ) and ESModule (` import ` ) files. Ensure that any
132
+ custom build configurations look for ` .mjs ` files!
133
+
122
134
### Contributing
123
135
124
136
We actively welcome pull requests, learn how to
You can’t perform that action at this time.
0 commit comments