Skip to content

otothea/fuse-box-graphql-plugin

master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 

fuse-box-graphql-plugin

graphql-tag loader for Webpack lets you keep GraphQL queries in separate files.

This lib makes those work in Fusebox.

Install

npm install fuse-box-graphql-plugin

Usage

const fsbx = require('fuse-box');
const GraphQLPlugin = require('fuse-box-graphql-plugin');

fsbx.FuseBox.init({
  homeDir: 'src/',
  plugins: [
    ['.graphql|.gql', GraphQLPlugin()]
  ],
}).bundle('> index.js');

About

Fusebox plugin for .gql|.graphql imports

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published