I finally got the Cloud API running and can now deploy lambda scripts from my local machine. Obviously lambdas make only sense (e.g. connecting to another server to fetch an auth token) if I can use NPM packages like
node-fetch for example. I was following your blogs and the source of the deprecated
slash-graphql and you were using webpack to bundle all of the sources together and push it to the cloud. Unfortunately I have a problem with
target: webworker in the webpack config. I get loads of errors since I guess some NPM packages are not supported.
Does anyone have the same problem? How did you solve this? Can we use NPM packages directly in lambda scripts?