frist graphql query to materio_graphql schema is working
going to refactor every thing with graphql
This commit is contained in:
@@ -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: {
|
||||
|
Reference in New Issue
Block a user