Package Exports
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@dcl/protocol) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
Protocol definitions
This module is intended to be installed as a node_module via npm install @dcl/protocol.
It is recommended that every project compiles the needed files only as part of its build process. Some imports are required:
-I=$(pwd)/node_modules/protobufjs-I=$(pwd)/node_modules/@dcl/protocol
An example compilation looks like this:
protoc \
--plugin=./node_modules/.bin/protoc-gen-ts_proto \
--ts_proto_opt=esModuleInterop=true,returnObservable=false,outputServices=generic-definitions,fileSuffix=.gen \
--ts_proto_out="$(pwd)/out-ts" \
-I="$(pwd)/node_modules/protobufjs" \
-I="$(pwd)/node_modules/@dcl/protocol" \
"$(pwd)/node_modules/@dcl/protocol/bff-services.proto"