-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Open
Description
protobuf.js/cli/targets/static-module.js
Line 21 in f42297b
| output = util.wrap(output, protobuf.util.merge({ dependency: "protobufjs/minimal" }, options)); |
pbjs -w es6 will generate an import statement that simply fails, because it's ES6 not CommonJS.
It can't import a file with the extension omitted, it has to import "protobufjs/minimal.js".
Or an "exports" field entry for /minimal needs to be added to protobufjs to make it work.
hrjAtLC and joshkel
Metadata
Metadata
Assignees
Labels
No labels