@bluexlab/graphql-compression-loader
v0.1.0
Published
A loader to compress graphql query before loaded into graphql-tag
Downloads
3
Readme
graphql-compress-loader
A loader to compress graphql query before loaded into graphql-tag
Install
npm install --save-dev graphql-compress-loader
Usage
webpack.config.js
module.exports = {
module: {
loaders: [
test: /\.(graphql|gql)$/,
exclude: /node_modules/,
loader: ['graphql-tag/loader', 'graphql-compress-loader']
]
}
}