2.0.0 • Published 4 years ago

@straw-hat/neutrino-graphql v2.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
4 years ago

@straw-hat/neutrino-graphql

Adds support for GraphQL files.

Installation

You need to add graphql-tag as well since it is a peer dependency.

yarn add graphql-tag
yarn add @straw-hat/neutrino-graphql -D

Usage

const { neutrinoGraphql } = require('@straw-hat/neutrino-graphql');

// Pass Webpack Chain config
neutrinoGraphql(config);

// Ready to 🎸

Neutrino

Extend your Neutrino build configuration using the following code snippet.

// .neutrinorc.js
const { neutrinoGraphql } = require('@straw-hat/neutrino-graphql');

module.exports = function(neutrino) {
  neutrino.use((neutrino) => neutrinoGraphql(neutrino.config));
};
2.0.0

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago

0.0.1

6 years ago