Skip to content

A plugin for making .graphql files load with snowpack, like graphql-tag/loader but for snowpack

License

Notifications You must be signed in to change notification settings

bobbyrenwick/snowpack-plugin-graphql

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

A plugin for making .graphql files load with snowpack, like graphql-tag/loader but for snowpack

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published