fuse-box-graphql-plugin
v1.0.0
Published
Fusebox plugin for .gql|.graphql imports
Downloads
22
Maintainers
Readme
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');