Open
Description
So I tried the JavaScript SDK (npm install pgml
, version 0.8.0) with Vercel, specifically next.js, which uses webpack to build and distribute the app.
Webpack typically should be able to collect native modules, when using node-loader, but in the case of nextjs at least it was placing it in the wrong directory and I kept getting module not found
. I'm not sure if it's a bug with the webpack configuration, with nextjs, or with our SDK.
It would be nice to have a few example apps that use common frameworks like nextjs, express and tools like webpack to make sure that our package is usable in typical settings.