prisma-binding icon indicating copy to clipboard operation
prisma-binding copied to clipboard

Not working in netlify functions

Open timsuchanek opened this issue 7 years ago • 1 comments

When deploying bindings to netlify, the current dynamic imports are not working. The solution for this is to separate the binary and library logic and package the binary standalone to not pollute the dependency tree.

Reproduction: https://github.com/divyenduz/yoga-prisma-netlify

timsuchanek avatar Jun 19 '18 11:06 timsuchanek

I just ran into this issue as well and it works locally using your custom.webpack.js. Is there a workaround for deploying a working version to Netlify?

RobertBroersma avatar Jul 14 '18 16:07 RobertBroersma