Skip to content

Latest commit

 

History

History

create-react-scripts-graphql

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

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 */),
);