Skip to content

Latest commit

 

History

History
22 lines (15 loc) · 368 Bytes

README.md

File metadata and controls

22 lines (15 loc) · 368 Bytes

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