Re-add old GraphQL loader

This commit is contained in:
Ramon Wenger 2021-03-09 09:21:39 +01:00
parent 523f3d5f88
commit c002b15ec6
1 changed files with 2 additions and 9 deletions

View File

@ -69,15 +69,8 @@ module.exports = {
}, },
{ {
test: /\.(gql|graphql)$/, test: /\.(gql|graphql)$/,
use: [ loader: 'graphql-tag/loader',
{ exclude: /node_modules/
loader: 'webpack-graphql-loader',
options: {
output: 'document',
},
},
],
exclude: /node_modules/,
}, },
{ {
test: /\.(png|jpe?g|gif|svg)(\?.*)?$/, test: /\.(png|jpe?g|gif|svg)(\?.*)?$/,