Rift-15726 compress code in production environment 98/1298/1
authorBob Gallagher <bob.gallagher@riftio.com>
Wed, 15 Mar 2017 12:24:47 +0000 (08:24 -0400)
committerBob Gallagher <bob.gallagher@riftio.com>
Wed, 15 Mar 2017 12:24:47 +0000 (08:24 -0400)
commit93bac8fefb064dbefb2cc08d3ae3aa84e84f0320
tree59e795f29f32152a5b61e099519a00de73ce2885
parent072388a12f3b46b51196239f0b7fc32ec1ae14b1
Rift-15726 compress code in production environment
When webpack configs for “minimizing”
 - define NODE_ENV to be ‘production’ to get further code reduction our of react
 - add in gzip compression
Update skyquake.js to handle qzip file request
Update all calls to alt.createStore to pass in an explicit store name to fix issue caused by minification (class name duplication

Change-Id: I2bb2239c87c6b2f5f6f02399f553e28ee3a8f5b8
Signed-off-by: Bob Gallagher <bob.gallagher@riftio.com>
37 files changed:
skyquake/framework/widgets/header/headerStore.js
skyquake/framework/widgets/skyquake_container/skyquakeContainerStore.js
skyquake/plugins/about/package.json
skyquake/plugins/about/src/aboutStore.js
skyquake/plugins/about/webpack.production.config.js
skyquake/plugins/accounts/package.json
skyquake/plugins/accounts/webpack.production.config.js
skyquake/plugins/composer/package.json
skyquake/plugins/composer/webpack.production.config.js
skyquake/plugins/config/package.json
skyquake/plugins/config/webpack.production.config.js
skyquake/plugins/debug/package.json
skyquake/plugins/debug/src/crashStore.js
skyquake/plugins/debug/webpack.production.config.js
skyquake/plugins/goodbyeworld/package.json
skyquake/plugins/goodbyeworld/webpack.production.config.js
skyquake/plugins/helloworld/package.json
skyquake/plugins/helloworld/webpack.production.config.js
skyquake/plugins/launchpad/package.json
skyquake/plugins/launchpad/src/createStore.js
skyquake/plugins/launchpad/src/instantiate/instantiateDashboard.jsx
skyquake/plugins/launchpad/src/instantiate/instantiateStore.js
skyquake/plugins/launchpad/src/launchpadFleetStore.js
skyquake/plugins/launchpad/src/recordViewer/recordViewStore.js
skyquake/plugins/launchpad/src/ssh_keys/sshKeys.jsx
skyquake/plugins/launchpad/src/topologyL2View/topologyL2Store.js
skyquake/plugins/launchpad/src/topologyView/topologyStore.js
skyquake/plugins/launchpad/src/virtual_links/nsVirtualLinkCreate.jsx
skyquake/plugins/launchpad/src/virtual_links/nsVirtualLinks.jsx
skyquake/plugins/launchpad/src/vnfr/vnfrStore.js
skyquake/plugins/launchpad/webpack.production.config.js
skyquake/plugins/logging/package.json
skyquake/plugins/logging/src/loggingStore.js
skyquake/plugins/logging/webpack.production.config.js
skyquake/skyquake.js
skyquake/tests/stories/catalogCard.js
skyquake/tests/stories/sshKeyCard.js