Webpack example not working
prakhathi-m opened this issue · comments
I have tried the webpack-example that mentioned here
But it doesn't work anymore. Found this error:
I have installed webpack-cli to fix this issue. However, the graph is not rendering.
I have tried to recreate this here with the minimal webpack setup. I have tried to install it in a create-react-app setup as well. But nothing seems to render voyager.worker.js
Getting this error on the console.
Uncaught SyntaxError: Unexpected token '<'
However, I have tried to use graphql-voyager from cdn in just vanilla JS, HTML and it worked fine - check it out here!
Anyone here successfully integrated this package into their project?