frist graphql query to materio_graphql schema is working

going to refactor every thing with graphql
This commit is contained in:
2020-12-10 22:46:27 +01:00
parent 2071a99ca2
commit 2739df96e2
14 changed files with 1087 additions and 47 deletions

View File

@@ -52,7 +52,26 @@ module.exports = {
use: {
loader: 'babel-loader',
}
},
{
test: /\.(graphql|gql)$/,
exclude: /node_modules/,
loader: 'graphql-tag/loader'
}
// {
// test: /\.graphql?$/,
// use: [
// {
// loader: 'webpack-graphql-loader',
// options: {
// // validate: true,
// // schema: "./path/to/schema.json",
// // removeUnusedFragments: true
// // etc. See "Loader Options" below
// }
// }
// ]
// }
// , {
// test: /\.(png|jpe?g|gif|svg)(\?.*)?$/,
// use: {