0.1.5 • Published 7 years ago

create-react-scripts-graphql v0.1.5

Weekly downloads
2
License
MIT
Repository
github
Last release
7 years ago

create-react-scripts-graphql


This is useful if you use Apollo and you want to enable .graphql/.gql extension support. Add graphql-tag/loader support. Add jest-transform-graphql support.

Example Usage:

Modify crs.config

Modify crs.config as below.

const { compose } = require('create-react-scripts');
module.exports = compose(
  ...
  require('create-react-scripts-graphql')(/* options provided to graphql-tag/loader */),
);