diff --git a/docs/node/getting-started.md b/docs/node/getting-started.md index fc3f355b..72896e5d 100644 --- a/docs/node/getting-started.md +++ b/docs/node/getting-started.md @@ -104,6 +104,10 @@ version: v2 plugins: - local: protoc-gen-es out: gen + # Also generate any well-known type dependencies + include_wkt: true + # Also generate any imported dependencies + include_imports: true opt: target=ts ``` diff --git a/docs/web/generating-code.mdx b/docs/web/generating-code.mdx index a4303d04..36252743 100644 --- a/docs/web/generating-code.mdx +++ b/docs/web/generating-code.mdx @@ -82,6 +82,10 @@ plugins: # This will invoke protoc-gen-es and write output to src/gen - local: protoc-gen-es out: src/gen + # Also generate any well-known type dependencies + include_wkt: true + # Also generate any imported dependencies + include_imports: true # Add more plugin options here opt: target=ts ```