@uxland-admin/ip-professional-header
Advanced tools
Comparing version 2.0.1 to 2.0.2
{ | ||
"name": "@uxland-admin/ip-professional-header", | ||
"description": "ICS Process - Professional Header", | ||
"version": "2.0.1", | ||
"version": "2.0.2", | ||
"main": "index.js", | ||
@@ -22,2 +22,3 @@ "repository": { | ||
"@babel/preset-env": "^7.2.3", | ||
"circular-dependency-plugin": "^5.0.2", | ||
"@types/chai": "^4.1.6", | ||
@@ -24,0 +25,0 @@ "@types/mocha": "^5.2.5", |
@@ -9,2 +9,3 @@ 'use strict'; | ||
const ScriptExtHtmlWebpackPlugin = require('script-ext-html-webpack-plugin'); | ||
const CircularDependencyPlugin = require("circular-dependency-plugin"); | ||
@@ -98,3 +99,14 @@ const pkg = require('./package.json'); | ||
]; | ||
const devPlugins = [new CopyWebpackPlugin(copyStatics.copyWebcomponents), new webpack.HotModuleReplacementPlugin() | ||
const devPlugins = [ | ||
new CopyWebpackPlugin(copyStatics.copyWebcomponents), | ||
new webpack.HotModuleReplacementPlugin(), | ||
new CircularDependencyPlugin({ | ||
//avoid circular dependencys | ||
// exclude detection of files based on a RegExp | ||
exclude: /a\.js|node_modules/, | ||
// add errors to webpack instead of warnings | ||
failOnError: true, | ||
// set the current working directory for displaying module paths | ||
cwd: process.cwd() | ||
}) | ||
]; | ||
@@ -101,0 +113,0 @@ const buildPlugins = [ |
25595
472
40