thechriswalker / protoc-gen-twirp_js

Javascript codegen for TwirpRPC
MIT License
25 stars 12 forks source link

How do we generate the _pb_twirp.js file? #1

Closed polds closed 6 years ago

polds commented 6 years ago

I'm able to generate the service_pb.js files but appear unable to generate the service_pb_twirp.js file.

What are the magic flags to use? I'm using the following right now:

protoc --proto_path=. --js_out=import_style=commonjs,binary:. service.proto
polds commented 6 years ago

I figured it out.

protoc --proto_path=. --twirp_js_out=. --js_out=import_style=commonjs,binary:. service.proto