protobuf-javascript icon indicating copy to clipboard operation
protobuf-javascript copied to clipboard

Generate ES6-style code (classes, exports, imports)

Open gonzojive opened this issue 1 year ago • 3 comments

There is a long-standing request for ES6 module generation: https://github.com/protocolbuffers/protobuf-javascript/issues/75. This PR mostly adds such support, though it needs to be cleaned up, fixed and tested.

The code generator should still produce the same output for previously supported inputs. The es6 option changes the output style significantly.

gonzojive avatar Dec 05 '22 08:12 gonzojive