Skip to content

Commit

Permalink
Merge pull request #864 from eventualbuddha/use-light-instead-of-minimal
Browse files Browse the repository at this point in the history
Fixed dependency for json-module to use "light".
  • Loading branch information
dcodeIO committed Jul 11, 2017
2 parents ed7e2e7 + adecd54 commit 31ab863
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cli/targets/json-module.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ function json_module(root, options, callback) {
}
var json = util.jsonSafeProp(JSON.stringify(root.nested, null, 2).trim());
output.push(".addJSON(" + json + ");");
output = util.wrap(output.join(""), protobuf.util.merge({ dependency: "protobufjs/minimal" }, options));
output = util.wrap(output.join(""), protobuf.util.merge({ dependency: "protobufjs/light" }, options));
process.nextTick(function() {
callback(null, output);
});
Expand Down

0 comments on commit 31ab863

Please sign in to comment.