Skip to content

Latest commit

 

History

History
28 lines (18 loc) · 521 Bytes

File metadata and controls

28 lines (18 loc) · 521 Bytes

@straw-hat/webpack-chain-graphql

Adds support for GraphQL files.

Get Started

Installation

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

Usage

  • 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 🎸