proto-loader
proto-loader copied to clipboard
Ignore google/protobuf/descriptors.proto
Not familiar enough with the custom options, but I have a file that I am trying to load. It contains:
Import "google/protobuf/descriptor.proto"
These and extends are ignored by protobufjs, but not by this loader.
See HTTPS://github.com/dcodeIO/protobuf.js/blob/master/cli/pbjs.js#L153
HTTPS://github.com/dcodeIO/protobuf.js/blob/master/dist/protobuf-light.js#L3674
The loader fails to compile as it tries to resolve the import, maybe it can control the parser further? Haven't looked enough into it.
The issue regarding descriptiors at protobufjs was HTTPS://github.com/dcodeIO/protobuf.js/issues/118
Thoughts?
Sorry, wrong link for issue HTTPS://github.com/dcodeIO/protobuf.js/issues/10