We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d70e255 commit 2157950Copy full SHA for 2157950
index.js
@@ -1,12 +1,12 @@
1
2
function rewireGraphQLTag(config, env) {
3
- const gqlTagExtension = /\.(graphql|gql)$/
+ const gqlExtension = /\.(graphql|gql)$/
4
5
const fileLoader = config.module.rules.find(rule=> rule.loader && rule.loader.indexOf("file-loader")!==-1);
6
fileLoader.exclude.push(gqlExtension);
7
8
const gqlTagRule = {
9
- test: gqlTagExtension,
+ test: gqlExtension,
10
loader: 'graphql-tag/loader',
11
exclude: /node_modules/
12
}
package.json
@@ -7,7 +7,7 @@
"test": "echo \"Error: no test specified\" && exit 1"
},
"dependencies": {
- "graphql-tag": "^2.4.2",
+ "graphql-tag": "^2.4.2"
"repository": {
13
"type": "git",
0 commit comments