File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -297,11 +297,11 @@ Consolidates imports and converts between file formats.
297297 -t, --target Specifies the target format. Also accepts a path to require a custom target.
298298
299299 json JSON representation
300- json-module JSON representation as a module (AMD, CommonJS, global)
300+ json-module JSON representation as a module
301301 proto2 Protocol Buffers, Version 2
302302 proto3 Protocol Buffers, Version 3
303303 static Static code without reflection
304- static-module Static code without reflection as a module (AMD, CommonJS, global)
304+ static-module Static code without reflection as a module
305305
306306 -p, --path Adds a directory to the include path.
307307
@@ -315,6 +315,13 @@ Consolidates imports and converts between file formats.
315315
316316 -r, --root Specifies an alternative protobuf.roots name for *-module targets.
317317
318+ Static code generation only:
319+
320+ --no-encode Does not generate encode functions.
321+ --no-decode Does not generate decode functions.
322+ --no-verify Does not generate verify functions.
323+ --no-delimited Does not generate delimited encode/decode functions.
324+
318325usage: pbjs [options] file1.proto file2.json ...
319326```
320327
You can’t perform that action at this time.
0 commit comments