snowpack-plugin-graphql-loader
v0.1.0
Published
This will allow you to use `.graphql` files with Snowpack, just like you can with `graphql-tag/loader` with webpack
Downloads
7,593
Readme
snowpack-plugin-graphql
This will allow you to use .graphql
files with Snowpack, just like you can with graphql-tag/loader
with webpack
It handles fragment imports in those files like:
#import "./fragments.graphql"
Usage
Install:
yarn add snowpack-plugin-graphql
In your snowpack config:
plugins: [
["snowpack-plugin-graphql"],
],