graphpack
graphpack copied to clipboard
How webpack to resolve dataSources in graphpack.config.js
trafficstars
How webpack to buildle './src/services/client' ?
const Client = require('./src/services/client')
module.exports = {
...
dataSources: () => ({
client: new Client(),
}),
}
Hey! What are you trying to achieve by this?