X-Git-Url: https://gerrit.onap.org/r/gitweb?p=aai%2Fsparky-fe.git;a=blobdiff_plain;f=webpack.config.js;fp=webpack.config.js;h=894594a2496aab1e1293f992f0afbd8b83fab7de;hp=7d2e53ae2c63d3ccb05153e1b7aedb01a23765f3;hb=5ee7367a101143715c2869d72ea4a6fbf55f5af6;hpb=ddc05d4ea0254b427fea6ec80e2b03950eeca4ce diff --git a/webpack.config.js b/webpack.config.js index 7d2e53a..894594a 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -32,6 +32,11 @@ module.exports = { 'webpack/hot/only-dev-server' ] }, + externals: [ + { + xmlhttprequest: 'XMLHttpRequest' + } + ], output: { path: path.join(__dirname, 'dist'), publicPath: ``, @@ -56,7 +61,7 @@ module.exports = { }, module: { loaders: [ - {test: /\.(js|jsx)$/, loaders: ['babel-loader', 'eslint-loader'], exclude: /node_modules/}, + {test: /\.(js|jsx)$/, loaders: ['babel-loader'], exclude: /node_modules/}, {test: /\.(css|scss)$/, loaders: ['style', 'css?sourceMap', 'sass?sourceMap']}, // required for font icons {test: /\.(woff|woff2|ttf|eot|otf)(\?.*)?$/, loader: 'url-loader?limit=163840&mimetype=application/font-woff&name=[name].[ext]'}, @@ -67,8 +72,8 @@ module.exports = { }, eslint: { configFile: './.eslintrc', - failOnError: true, - emitError: true, + failOnError: false, + emitError: false, emitWarning: true }, plugins: [