Adds support for GraphQL files.
You need to add graphql-tag
as well since it is a peer dependency.
yarn add graphql-tag
yarn add @straw-hat/webpack-chain-graphql -D
- Reference guides Please use
yarn docs:reference
to generate the reference docs.
const { graphql } = require('@straw-hat/webpack-chain-graphql');
// Pass Webpack Chain config
graphql(config);
// Ready to 🎸