We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent df9e024 commit 33d1068Copy full SHA for 33d1068
1 file changed
commonjs/rewrite_tests_for_commonjs.js
@@ -80,6 +80,8 @@ lineReader.on('line', function(line) {
80
if (isRequire) {
81
if (module) { // Skip goog.require() lines before the first directive.
82
var fullSym = isRequire[1];
83
+ // Skip lines importing from jspb.*, these are handled by the header above.
84
+ if (fullSym.match(/^jspb\./)) return;
85
var sym = tryStripPrefix(fullSym, pkg);
86
console.log("googleProtobuf.exportSymbol('" + fullSym + "', " + module + sym + ', global);');
87
}
0 commit comments