diff --git a/grpc/tasks.py b/grpc/tasks.py index 8ac66aa..103adbc 100644 --- a/grpc/tasks.py +++ b/grpc/tasks.py @@ -40,6 +40,7 @@ def gen(c, target="types"): cmd = "protoc --plugin=protoc-gen-ts_proto={} " \ "--ts_proto_opt=outputServices=grpc-js " \ "--ts_proto_opt=esModuleInterop=true " \ + "--ts_proto_opt=env=node " \ "--ts_proto_out={} -I pb {}".format( plugin_path, out_dir, "./pb/bdware/bdledger/api/*.proto") print(cmd)