Skip to content

Instantly share code, notes, and snippets.

@lucperkins
Created October 24, 2018 16:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lucperkins/d4d9ff27cc68a45cab034a6c6040e498 to your computer and use it in GitHub Desktop.
Save lucperkins/d4d9ff27cc68a45cab034a6c6040e498 to your computer and use it in GitHub Desktop.
protoc echo.proto \
--js_out=import_style=commonjs:./output \
--grpc-web_out=import_style=commonjs:./output
@mapleray
Copy link

maybe need mode=grpcwebtext ?

@sibil
Copy link

sibil commented Oct 25, 2018

protoc todos.proto ?
todos.proto was used in https://www.cncf.io/blog/2018/10/24/grpc-web-is-going-ga/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment