parcel-plugin-graphql-raw

1.0.4 • Public • Published

parcel graphql

Travis CI Build Status Dependencies npm package License: MIT

parcel-plugin-graphql-raw

Some packages (like nanographql) uses plain-text GraphQL Schema instead of JSON, generated by graphql-tag.

Since GraphqlAsset uses graphql-tag, this plugin allows Parcel to export GraphQL files as plain text

Usage

Install plugin:

# via yarn 
yarn add -D parcel-plugin-graphql-raw
# via npm 
npm i -D parcel-plugin-graphql-raw

Import GraphQL file (with .graphql or .gql extension):

import simple from './simple.gql';

License

MIT

Readme

Keywords

none

Package Sidebar

Install

npm i parcel-plugin-graphql-raw

Weekly Downloads

97

Version

1.0.4

License

MIT

Unpacked Size

4.55 kB

Total Files

8

Last publish

Collaborators

  • ty3uk