create-react-scripts-graphql
v0.1.5
Published
Enable graphql-loader to create-react-scripts
Downloads
3
Readme
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 */),
);