razzle-plugin-graphql-tag
This package contains a plugin for using graphql-tag/loader with Razzle
Usage in Razzle Projects
npm i razzle-plugin-graphql-tag
or
yarn add razzle-plugin-graphql-tag
Using the plugin with the default options
// razzle.config.js
module.exports = {
plugins: ["graphql-tag"]
};
Options
Check the docs here: graphql-tag/loader.