Skip to content

Commit 31ab863

Browse files
authored
Merge pull request protobufjs#864 from eventualbuddha/use-light-instead-of-minimal
Fixed dependency for json-module to use "light".
2 parents ed7e2e7 + adecd54 commit 31ab863

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cli/targets/json-module.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ function json_module(root, options, callback) {
1919
}
2020
var json = util.jsonSafeProp(JSON.stringify(root.nested, null, 2).trim());
2121
output.push(".addJSON(" + json + ");");
22-
output = util.wrap(output.join(""), protobuf.util.merge({ dependency: "protobufjs/minimal" }, options));
22+
output = util.wrap(output.join(""), protobuf.util.merge({ dependency: "protobufjs/light" }, options));
2323
process.nextTick(function() {
2424
callback(null, output);
2525
});

0 commit comments

Comments
 (0)