bufbuild / buf

The best way of working with Protocol Buffers.
https://buf.build
Apache License 2.0
9.18k stars 278 forks source link

Using buf with serverless application #3490

Open YKampani opened 8 hours ago

YKampani commented 8 hours ago

GitHub repository with your minimal reproducible example (do not leave this field blank or fill out this field with "github.com/bufbuild/buf" or we will automatically close your issue, see the instructions above!)

No response

What's up?

Hi, I'm using Buf to generate JavaScript files from .proto files, which I package as an npm module. However, when using this in a serverless application, the Lambda deployment fails due to the large package size. The issue seems to stem from needing @bufbuild/buf as a dependency for message encoding/decoding, which increases the size. How can I make this work for a serverless application?