Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How webpack to resolve dataSources in graphpack.config.js #56

Open
Leonard-Li777 opened this issue Aug 26, 2019 · 1 comment
Open

How webpack to resolve dataSources in graphpack.config.js #56

Leonard-Li777 opened this issue Aug 26, 2019 · 1 comment

Comments

@Leonard-Li777
Copy link

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

const Client = require('./src/services/client')
module.exports = {
    ...
    dataSources: () => ({
	client: new Client(),
   }),
}
@Leonard-Li777 Leonard-Li777 changed the title graphpack.config.js How webpack to resolve dataSources in graphpack.config.js Aug 26, 2019
@glennreyes
Copy link
Owner

Hey! What are you trying to achieve by this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants