1.0.4 • Published 4 years ago

parcel-plugin-graphql-raw v1.0.4

Weekly downloads
123
License
MIT
Repository
github
Last release
4 years ago

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

1.0.4

4 years ago

1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago