-
I have some plugins that should be disabled when generating |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
We currently do not have per-module configuration in |
Beta Was this translation helpful? Give feedback.
We currently do not have per-module configuration in
buf.gen.yaml
. For these cases, we recommend using multiple configuration files to manage plugins and inputs, for examplebuf.googleapis.gen.yaml
, with the plugins you want forgoogleapis
, and then runningnpx buf generate buf.build/googleapis/googleapis --template buf.googleapis.gen.yaml
.If you are using
v2
buf.gen.yaml
, you can setbuf.build/googleapis/googleapis
inbuf.googleapis.gen.yaml
and so you won't need to pass it through as an argument (see docs for more details: https://buf.build/docs/configuration/v2/buf-gen-yaml#module)