# webpack-blocks-graphql

> Sets up the graphql-tag/loader for webpack blocks.

Latest version **1.0.1** (published 2017-09-04) · MIT license · 0 weekly downloads

## Install

```sh
npm install webpack-blocks-graphql
pnpm add webpack-blocks-graphql
yarn add webpack-blocks-graphql
bun add webpack-blocks-graphql
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.1 |
| Published | 2017-09-04 |
| First published | 2017-09-03 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 3 |
| Author | Nick Glenn |
| Maintainers | hello-helpfulhuman |
| Keywords | webpack, blocks, webpack, blocks, graphql, graphql-tag |

## Links

- npm: https://www.npmjs.com/package/webpack-blocks-graphql
- Repository: https://github.com/HelpfulHuman/WebpackBlocks-GraphQL-Loader
- Homepage: https://github.com/HelpfulHuman/WebpackBlocks-GraphQL-Loader#readme
- Issues: https://github.com/HelpfulHuman/WebpackBlocks-GraphQL-Loader/issues
- npm.io page: https://npm.io/package/webpack-blocks-graphql

## Dependencies (1)

- [graphql-tag](https://npm.io/package/graphql-tag.md) ^2.4.2

## Alternatives

- [apollo-link-http-common](https://npm.io/package/apollo-link-http-common.md) — 879.0K weekly downloads
- [react-relay](https://npm.io/package/react-relay.md) — 336.8K weekly downloads
- [relay-test-utils](https://npm.io/package/relay-test-utils.md) — 181.6K weekly downloads
- [@vendure/core](https://npm.io/package/@vendure/core.md) — 14.8K weekly downloads
- [@pnpm/deps.graph-sequencer](https://npm.io/package/@pnpm/deps.graph-sequencer.md) — 13.4K weekly downloads

## Recent versions

- 1.0.1 (latest) — 2017-09-04
- 1.0.0 — 2017-09-03

## README

# WebpackBlocks-GraphQL-Loader

Simple wrapper around [graphq-tag](https://github.com/apollographql/graphql-tag).  Enables direct `import`ing 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:

```js
var webpack = require("@webpack-blocks/webpack2");
var graphql = require("webpack-blocks-graphql");

module.exports = webpack.config([
  // ...
  graphql(),
  // ...
]);
```

That's it! :clap:

---
_Source: https://npm.io/package/webpack-blocks-graphql · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
