snowpack-plugin-graphql-loader

0.1.0 • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

npm i snowpack-plugin-graphql-loader

Weekly Downloads

1,879

Version

0.1.0

License

MIT

Unpacked Size

18.5 kB

Total Files

7

Last publish

Collaborators

  • phlex89