From 753c4dbc7116921a649388f8448c4f45a9314db0 Mon Sep 17 00:00:00 2001 From: Anh Hong Date: Tue, 31 Mar 2020 12:31:15 +0700 Subject: [PATCH] chore: using the production build of React --- gulpfile.js | 1 + 1 file changed, 1 insertion(+) 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));