summaryrefslogtreecommitdiffstats
path: root/openecomp-ui/webpack.common.js
diff options
context:
space:
mode:
authortalig <talig@amdocs.com>2017-12-20 14:30:43 +0200
committerVitaly Emporopulo <Vitaliy.Emporopulo@amdocs.com>2017-12-21 11:12:33 +0000
commit8e9c0653dd6c6862123c9609ae34e1206d86456e (patch)
tree5eeef00ec0677133baa439ca8d7ffd7aca4804b6 /openecomp-ui/webpack.common.js
parent785ebcc95de3e064e843bec04ba7a209d854fc7c (diff)
Add collaboration feature
Issue-ID: SDC-767 Change-Id: I14fb4c1f54086ed03a56a7ff7fab9ecd40381795 Signed-off-by: talig <talig@amdocs.com>
Diffstat (limited to 'openecomp-ui/webpack.common.js')
-rw-r--r--openecomp-ui/webpack.common.js8
1 files changed, 5 insertions, 3 deletions
diff --git a/openecomp-ui/webpack.common.js b/openecomp-ui/webpack.common.js
index ebe4a8454a..68d8923458 100644
--- a/openecomp-ui/webpack.common.js
+++ b/openecomp-ui/webpack.common.js
@@ -5,7 +5,9 @@ let path = require('path');
let localDevConfig = {};
try {
localDevConfig = require('./devConfig');
-} catch (e) {}
+} catch (e) {
+ console.log('Could not find local dev config.');
+}
let devConfig = Object.assign({}, require('./devConfig.defaults'), localDevConfig);
module.exports = {
@@ -23,11 +25,11 @@ module.exports = {
},
module: {
rules: [
- {test: /\.(js|jsx)$/, loader: 'source-map-loader', exclude: /node_modules/, enforce: 'pre'},
+ {test: /\.(js|jsx)$/, loader: 'source-map-loader', exclude: [/node_modules/, path.resolve(__dirname, '../dox-sequence-diagram/')], enforce: 'pre'},
{test: /\.(js|jsx)$/, use: [
{loader : 'react-hot-loader'},
{loader : 'babel-loader'},
- {loader : 'eslint-loader'}], exclude: /node_modules/},
+ {loader : 'eslint-loader'}], exclude: [/node_modules/, path.resolve(__dirname, '../dox-sequence-diagram/')]},
{test: /\.(css|scss)$/, use: [
{loader: 'style-loader'},
{loader: 'css-loader?sourceMap'},