We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 841c0a4 commit e9c8f82Copy full SHA for e9c8f82
README.md
@@ -3,4 +3,22 @@
3
[](https://circleci.com/gh/graphcool/graphql-import-loader) [](https://badge.fury.io/js/graphql-import-loader)
4
5
6
-Webpack loader for `graphql-import`
+Webpack loader for [`graphql-import`](https://github.com/graphcool/graphql-import)
7
+
8
+## Install
9
10
+```console
11
+yarn add --dev graphql-import-loader
12
+```
13
14
+## Usage
15
16
+Add the following to the `rules` section in your `webpack.config.js`
17
18
+```js
19
+ rules: [{
20
+ exclude: /node_modules/,
21
+ test: /\.graphql$/,
22
+ use: [{ loader: 'graphql-import-loader' }]
23
+ }],
24
0 commit comments