-
Notifications
You must be signed in to change notification settings - Fork 18
Ignore google/protobuf/descriptors.proto #9
Copy link
Copy link
Open
Description
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?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels