summaryrefslogtreecommitdiffstats
path: root/openecomp-ui/webpack.config.js
diff options
context:
space:
mode:
authorsvishnev <shlomo-stanisla.vishnevetskiy@amdocs.com>2018-01-11 14:39:45 +0200
committersvishnev <shlomo-stanisla.vishnevetskiy@amdocs.com>2018-01-11 14:39:54 +0200
commit1eb66b78d3b1f1fc60a82ce6dbd16b12f2845e9a (patch)
treec21317aaef78791a35b48e102dce2a9b350d608a /openecomp-ui/webpack.config.js
parent16aeffbb7b864335075aa7159e5a997b173b5f80 (diff)
React version upgrade
Issue-ID: SDC-894 Change-Id: I7c200a4b0b1d09a8fec638906db4258cafe252b5 Signed-off-by: svishnev <shlomo-stanisla.vishnevetskiy@amdocs.com>
Diffstat (limited to 'openecomp-ui/webpack.config.js')
-rw-r--r--openecomp-ui/webpack.config.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/openecomp-ui/webpack.config.js b/openecomp-ui/webpack.config.js
index c723a7a86c..c59e6f4486 100644
--- a/openecomp-ui/webpack.config.js
+++ b/openecomp-ui/webpack.config.js
@@ -16,6 +16,7 @@ let webpackCommon = require('./webpack.common');
function getEntrySources(sources) {
for (let i in sources) {
if (sources.hasOwnProperty(i)) {
+ sources[i].push('react-hot-loader/patch');
sources[i].push('webpack-dev-server/client?http://localhost:' + devPort);
sources[i].push('webpack/hot/only-dev-server');
}
@@ -36,8 +37,8 @@ let webpackDevConfig = Object.assign({}, webpackCommon, {
historyApiFallback: true,
publicPath: `http://localhost:${devPort}/onboarding/`,
contentBase: path.join(__dirname, 'dist'),
- hot: true,
inline: true,
+ hot: true,
stats: {
colors: true,
exclude: ['node_modules']