UNPKG

tix-react-ssr

Version:

Tiket.com React Project Scripts

9 lines (8 loc) 259 B
const loader = require('graphql-tag/loader'); module.exports = { process(src) { // call directly the webpack loader with a mocked context // as graphql-tag/loader leverages `this.cacheable()` return loader.call({ cacheable() {} }, src); }, };