https://theremix.github.io/protobuf-test
Loads ./src/proto/hello.js, encode a message and print as bytes
Rollup builds stand-alone protobuf definition modules compiled with protobufjs (pbjs)
I found problems using the official google (protoc) with rollup.
npm i
npm run compile-proto
npm run dev