Hey team how does npm bundling work in
Hey team, how does npm bundling work in convex actions?
Let's say I've got this action
But I see this error in the function response from client and on the dashboard when I run the function through there too:
3 Replies
We are actively working on it. Will aim to releasing a BETA in a couple of weeks. Sorry about the trouble.
Side note: Interesting you try to use esbuild. Since we use esbuild to bundle. So in your case, esbuild fails to bundle esbuild.
Yeah the irony right.. Its actually a bit of a work around to the fact I cant see a programmatic API for convex.
cc @presley
I've got to say I love the model convex uses, simplifed DB modelling, drop in api layer and auto cached queries and instant "subscriptions". I'd love a way (and would be very open to helping contribute to this in some way) to allow folks like myself to manage many convex projects for downstream clients from an API, including an API to build functions leveraging your esbuild setup etc..
Context is that I've got my own project that allows users/teams to define data models, services and frontends in a drag on drop way, and Iove to integrate that concept with convex at its core via an API.
So drop me DM or something, got a ton of sw experience and I'd be very down to help
Yeah, what you are building sounds pretty interesting. Yeah, API for provisoning & co is something in something we are going to need to do eventually.