File tree 1 file changed +9
-2
lines changed
1 file changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -297,11 +297,11 @@ Consolidates imports and converts between file formats.
297
297
-t, --target Specifies the target format. Also accepts a path to require a custom target.
298
298
299
299
json JSON representation
300
- json-module JSON representation as a module (AMD, CommonJS, global)
300
+ json-module JSON representation as a module
301
301
proto2 Protocol Buffers, Version 2
302
302
proto3 Protocol Buffers, Version 3
303
303
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
305
305
306
306
-p, --path Adds a directory to the include path.
307
307
@@ -315,6 +315,13 @@ Consolidates imports and converts between file formats.
315
315
316
316
-r, --root Specifies an alternative protobuf.roots name for *-module targets.
317
317
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
+
318
325
usage: pbjs [options] file1.proto file2.json ...
319
326
```
320
327
You can’t perform that action at this time.
0 commit comments