demo-protobuf: Add options to pbjs script

This commit is contained in:
willclarktech 2020-06-16 11:46:45 +01:00
parent 21e29d1f25
commit e855ae31b1
No known key found for this signature in database
GPG Key ID: 551A86E2E398ADF7
3 changed files with 7941 additions and 52676 deletions

View File

@ -34,7 +34,7 @@
"pack-web": "yarn build-or-skip && webpack --mode development --config webpack.web.config.js",
"get-proto": "./scripts/get-proto.sh",
"prepack-proto": "mkdir -p src/generated",
"pack-proto": "pbjs -t static-module -w commonjs -o src/generated/codecimpl.js ./proto/**/*.proto",
"pack-proto": "pbjs -t static-module -w commonjs -o src/generated/codecimpl.js --sparse --no-beautify --no-delimited --no-verify --no-convert ./proto/**/*.proto",
"define-proto": "pbts src/generated/codecimpl.js -o src/generated/codecimpl.d.ts"
},
"devDependencies": {

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff