Skip to content

Commit

Permalink
fix(json): json parameter now enables modules (#242)
Browse files Browse the repository at this point in the history
  • Loading branch information
axe312ger authored and evenstensberg committed Jan 13, 2018
1 parent 03f78b4 commit a9c3f43
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion bin/webpack.js
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,10 @@
});

ifArg("json", function(bool) {
if (bool) outputOptions.json = bool;
if (bool) {
outputOptions.json = bool;
outputOptions.modules = bool;
}
});

if (typeof outputOptions.colors === "undefined")
Expand Down

0 comments on commit a9c3f43

Please sign in to comment.