Skip to content

Instantly share code, notes, and snippets.

@timostamm
timostamm / buf.gen.yaml
Created October 7, 2022 12:38
A very simple protobuf plugin, using @bufbuild/protoplugin
version: v1
plugins:
- name: foo
path: ./protoc-gen-foo.ts
out: gen
opt: target=ts
# run `buf generate` to generate code for example.proto