waves icon indicating copy to clipboard operation
waves copied to clipboard

[Rendezvous] Protobuff class generation as part of packing

Open da-kami opened this issue 4 years ago • 0 comments
trafficstars

Trigger the proto-classes code generation on webpack build as optimization.

For #174 protobuf message classes are generated using protobuf.js CLI: Run yarn run pbjs -t static-module -o src/proto.js src/rpc.proto to generate the javascript code. Run yarn run pbts -o src/proto.d.ts src/proto.js to generate types for the generated javascript code.

Currently the generated code is just added to the repository.

da-kami avatar Jul 19 '21 02:07 da-kami