File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -119,6 +119,18 @@ directly on this branch:
119119npm install graphql@git://github.com/graphql/graphql-js.git#npm
120120```
121121
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+
122134### Contributing
123135
124136We actively welcome pull requests, learn how to
You can’t perform that action at this time.
0 commit comments