webpack-blocks-graphql

1.0.1 • Public • Published

WebpackBlocks-GraphQL-Loader

Simple wrapper around graphq-tag. Enables direct importing of .graphql and .gql files in your JS application.

Usage

Install via npm:

npm install --save-dev webpack-blocks-graphql

Then include in your webpack.config.js file:

var webpack = require("@webpack-blocks/webpack2");
var graphql = require("webpack-blocks-graphql");

module.exports = webpack.config([
  // ...
  graphql(),
  // ...
]);

That's it! 👏

Dependencies (1)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i webpack-blocks-graphql

    Weekly Downloads

    1

    Version

    1.0.1

    License

    MIT

    Last publish

    Collaborators

    • hello-helpfulhuman