Skip to content

Commit

Permalink
Speed up JS build time
Browse files Browse the repository at this point in the history
Also bumping a few related libs
  • Loading branch information
mistercrunch committed Jul 28, 2017
1 parent e584a96 commit e437ab3
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 12 deletions.
15 changes: 7 additions & 8 deletions superset/assets/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand All @@ -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",
Expand All @@ -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",
Expand Down Expand Up @@ -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"
}
}
8 changes: 4 additions & 4 deletions superset/assets/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit e437ab3

Please sign in to comment.