create-react-scripts-graphql

0.1.5 • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

npm i create-react-scripts-graphql

Weekly Downloads

2

Version

0.1.5

License

MIT

Last publish

Collaborators

  • raymondsze