0.1.0 • Published 3 years ago

snowpack-plugin-graphql-loader v0.1.0

Weekly downloads
-
License
MIT
Repository
-
Last release
3 years ago

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"],
],
0.1.0

3 years ago