diff --git a/gulpfile.js b/gulpfile.js index 51ed04ce..61070c79 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -134,6 +134,7 @@ var ifyBuild = function() { }; var miniBuild = function() { + process.env.NODE_ENV = 'production'; return getBundle() .pipe(gTerser()) .pipe(dest(destDir));