graphpack icon indicating copy to clipboard operation
graphpack copied to clipboard

How webpack to resolve dataSources in graphpack.config.js

Open Leonard-Li777 opened this issue 6 years ago • 1 comments
trafficstars

How webpack to buildle './src/services/client' ?

const Client = require('./src/services/client')
module.exports = {
    ...
    dataSources: () => ({
	client: new Client(),
   }),
}

Leonard-Li777 avatar Aug 26 '19 09:08 Leonard-Li777

Hey! What are you trying to achieve by this?

glennreyes avatar Oct 22 '19 13:10 glennreyes