superset-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From maximebeauche...@apache.org
Subject [incubator-superset] branch master updated: Speed up JS build time (#3203)
Date Sat, 29 Jul 2017 00:34:14 GMT
This is an automated email from the ASF dual-hosted git repository.

maximebeauchemin 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 219f33f  Speed up JS build time (#3203)
219f33f is described below

commit 219f33f0d1fcd05db1807f5b95caea8b0edd92f7
Author: Maxime Beauchemin <maximebeauchemin@gmail.com>
AuthorDate: Fri Jul 28 17:34:09 2017 -0700

    Speed up JS build time (#3203)
    
    Also bumping a few related libs
---
 superset/assets/package.json      | 15 +++++++--------
 superset/assets/webpack.config.js |  8 ++++----
 2 files changed, 11 insertions(+), 12 deletions(-)

diff --git a/superset/assets/package.json b/superset/assets/package.json
index 055d9fd..3a37efe 100644
--- a/superset/assets/package.json
+++ b/superset/assets/package.json
@@ -18,7 +18,7 @@
   },
   "repository": {
     "type": "git",
-    "url": "git+https://github.com/airbnb/superset.git"
+    "url": "git+https://github.com/apache/incubator-superset.git"
   },
   "keywords": [
     "big",
@@ -32,11 +32,11 @@
     "database",
     "flask"
   ],
-  "author": "Airbnb",
+  "author": "Apache",
   "bugs": {
-    "url": "https://github.com/airbnb/superset/issues"
+    "url": "https://github.com/apache/incubator-superset/issues"
   },
-  "homepage": "https://github.com/airbnb/superset#readme",
+  "homepage": "http://superset.apache.org/",
   "dependencies": {
     "@data-ui/event-flow": "0.0.4",
     "babel-register": "^6.24.1",
@@ -55,7 +55,6 @@
     "datatables.net-bs": "^1.10.12",
     "immutable": "^3.8.1",
     "jquery": "^3.2.1",
-    "jsdom": "9.12.0",
     "lodash.throttle": "^4.1.1",
     "moment": "^2.14.1",
     "mustache": "^2.2.1",
@@ -127,8 +126,8 @@
     "transform-loader": "^0.2.3",
     "uglifyjs-webpack-plugin": "^0.4.6",
     "url-loader": "^0.5.7",
-    "webpack": "^2.3.3",
-    "webpack-manifest-plugin": "1.1.0",
-    "webworkify-webpack": "2.0.4"
+    "webpack": "^3.4.1",
+    "webpack-manifest-plugin": "1.2.1",
+    "webworkify-webpack": "2.0.5"
   }
 }
diff --git a/superset/assets/webpack.config.js b/superset/assets/webpack.config.js
index 6b80952..e3413e5 100644
--- a/superset/assets/webpack.config.js
+++ b/superset/assets/webpack.config.js
@@ -130,11 +130,11 @@ if (process.env.NODE_ENV === 'production') {
   const UJSplugin = new webpack.optimize.UglifyJsPlugin({
     sourceMap: false,
     minimize: true,
-    compress: {
-      drop_debugger: true,
-      warnings: false,
-      drop_console: true,
+    parallel: {
+      cache: true,
+      workers: 4,
     },
+    compress: false,
   });
   config.plugins.push(UJSplugin);
 }

-- 
To stop receiving notification emails like this one, please contact
['"commits@superset.apache.org" <commits@superset.apache.org>'].

Mime
View raw message