mirror of
https://github.com/weaveworks/scope.git
synced 2026-03-03 02:00:43 +00:00
Upgraded react to 0.14.3
also add production globals to webpack config to reduce bundle size
This commit is contained in:
@@ -25,7 +25,7 @@ dependencies:
|
||||
- go get $WEAVE_REPO/...
|
||||
- make deps
|
||||
- "mkdir -p $(dirname $SRCDIR) && cp -r $(pwd)/ $SRCDIR"
|
||||
- "cd $SRCDIR/client; ../tools/rebuild-image weaveworks/scope-ui-build . Dockerfile package.json webpack.production.config.js .eslintrc && touch $SRCDIR/.scope_ui_build.uptodate"
|
||||
- "cd $SRCDIR/client; ../tools/rebuild-image weaveworks/scope-ui-build . Dockerfile package.json webpack.production.config.js .eslintrc .babelrc && touch $SRCDIR/.scope_ui_build.uptodate"
|
||||
- "cd $SRCDIR/backend; ../tools/rebuild-image weaveworks/scope-backend-build . Dockerfile build.sh && touch $SRCDIR/.scope_backend_build.uptodate"
|
||||
- "make -C $SRCDIR/tools/runner && mkdir -p $WEAVE_ROOT/tools/runner && cp $SRCDIR/tools/runner/runner $WEAVE_ROOT/tools/runner"
|
||||
|
||||
|
||||
@@ -17,11 +17,11 @@
|
||||
"lodash": "~3.10.1",
|
||||
"materialize-css": "0.97.2",
|
||||
"page": "1.6.4",
|
||||
"react": "0.14.2",
|
||||
"react-addons-pure-render-mixin": "0.14.2",
|
||||
"react-addons-transition-group": "0.14.2",
|
||||
"react-addons-update": "0.14.2",
|
||||
"react-dom": "0.14.2",
|
||||
"react": "0.14.3",
|
||||
"react-addons-pure-render-mixin": "0.14.3",
|
||||
"react-addons-transition-group": "0.14.3",
|
||||
"react-addons-update": "0.14.3",
|
||||
"react-dom": "0.14.3",
|
||||
"react-motion": "0.3.1",
|
||||
"reqwest": "~2.0.5",
|
||||
"timely": "0.1.0"
|
||||
|
||||
@@ -3,7 +3,8 @@ var autoprefixer = require('autoprefixer');
|
||||
var path = require('path');
|
||||
|
||||
var GLOBALS = {
|
||||
__WS_URL__: 'false'
|
||||
__WS_URL__: 'false',
|
||||
'process.env': {NODE_ENV: '"production"'}
|
||||
};
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user