superset-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ccwilli...@apache.org
Subject [incubator-superset] branch master updated: ensure npm run build is in production mode (#5934)
Date Fri, 21 Sep 2018 20:30:26 GMT
This is an automated email from the ASF dual-hosted git repository.

ccwilliams pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-superset.git


The following commit(s) were added to refs/heads/master by this push:
     new 0886870  ensure npm run build is in production mode (#5934)
0886870 is described below

commit 0886870cd6ec17249d3373af921b3c35d48eb722
Author: Krist Wongsuphasawat <krist.wongz@gmail.com>
AuthorDate: Fri Sep 21 13:30:16 2018 -0700

    ensure npm run build is in production mode (#5934)
---
 superset/assets/package.json | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/superset/assets/package.json b/superset/assets/package.json
index cabc27b..c08ee50 100644
--- a/superset/assets/package.json
+++ b/superset/assets/package.json
@@ -15,7 +15,7 @@
     "dev": "webpack --mode=development --colors --progress --debug --watch",
     "dev-server": "webpack-dev-server --mode=development --progress",
     "prod": "node --max_old_space_size=4096 webpack --mode=production --colors --progress",
-    "build": "webpack --mode=production --colors --progress",
+    "build": "NODE_ENV=production webpack --mode=production --colors --progress",
     "lint": "eslint --ignore-path=.eslintignore --ext .js,.jsx .",
     "lint-fix": "eslint --fix --ignore-path=.eslintignore --ext .js,.jsx .",
     "sync-backend": "babel-node --presets env src/syncBackend.js",


Mime
View raw message