Created
May 9, 2019 10:59
-
-
Save mohsen89z/a86df8de7523ed52b023bbb9520fb1db to your computer and use it in GitHub Desktop.
Resolve .graphql import for medium
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module.exports = { | |
... | |
module: { | |
... | |
rules: [ | |
... | |
{ | |
test: /\.graphql$/, | |
exclude: /node_modules/, | |
loader: 'graphql-tag/loader', | |
}, | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment