We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
-p
1 parent cd251b1 commit e0a6aefCopy full SHA for e0a6aef
1 file changed
bin/convert-argv.js
@@ -21,6 +21,7 @@ module.exports = function(optimist, argv, convertOptions) {
21
if(!argv.devtool) {
22
argv.devtool = "eval-source-map";
23
}
24
+ argv["define"] = argv["define"].concat("process.env.NODE_ENV=\"production\"");
25
26
if(argv.p) {
27
argv["optimize-minimize"] = true;
0 commit comments