gRPC Webpack Plugin
JSON →A webpack plugin that automatically compiles .proto files with gRPC-Web and protoc during build. Version 0.2.79 is the latest stable release, with recent updates focused on bug fixes. It supports multiple output types (JavaScript, gRPC-Web client stubs), import styles (closure, commonjs, commonjs+dts, typescript), and wire format modes (grpcwebtext, grpcweb). Key differentiators: build-time proto compilation eliminates manual protoc invocations; file watching for .proto changes; synchronization with source .proto files. Requires node >=10.12.0 and peer dependencies grpc-web ^1.0.0 and webpack ^4.0.0.
Resources
packagegrpc-webpack-plugin ↗
API endpoints
full doc /v1/registry/grpc-webpack-plugin