1.0.0 • Published 7 years ago

fuse-box-graphql-plugin v1.0.0

Weekly downloads
2
License
MIT
Repository
github
Last release
7 years ago

fuse-box-graphql-plugin

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

This lib makes those work in Fusebox.

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');