Rift-15726 compress code in production environment
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)
commitefcca9816240e4cd87e524776885551ed534aa9d
tree59e795f29f32152a5b61e099519a00de73ce2885
parent7ddd5bf53da449cd7943e0e328f93c2bbeeabd2c
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