summaryrefslogtreecommitdiffstats
path: root/webpack.config.js
diff options
context:
space:
mode:
authorwr148d <wr148d@att.com>2021-01-15 15:32:00 -0500
committerwr148d <wr148d@att.com>2021-02-11 09:47:17 -0500
commit5ee7367a101143715c2869d72ea4a6fbf55f5af6 (patch)
tree84bf43601c0cce4fb37b5b3b494e113c96d5591e /webpack.config.js
parentddc05d4ea0254b427fea6ec80e2b03950eeca4ce (diff)
Updated Sparky to add ECOMP functionality Browse, Specialized Search, BYOQ, and the Builder FE Updates
Issue-ID: AAI-3250 Change-Id: I576e37f77f7e9b40d72e4a5e7de645e9f62bc7d2 Signed-off-by: wr148d <wr148d@att.com>
Diffstat (limited to 'webpack.config.js')
-rw-r--r--webpack.config.js11
1 files changed, 8 insertions, 3 deletions
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: [