#305: remove circular dependency detection plugin

This commit is contained in:
SleepWalker 2017-08-22 22:34:43 +03:00
parent 126ce37007
commit 170be2c6f0
3 changed files with 1 additions and 13 deletions

6
package-lock.json generated
View File

@ -1958,12 +1958,6 @@
"readdirp": "2.1.0"
}
},
"circular-dependency-plugin": {
"version": "3.0.0",
"resolved": "https://registry.npmjs.org/circular-dependency-plugin/-/circular-dependency-plugin-3.0.0.tgz",
"integrity": "sha1-m2hpLjWw41EJmNAWS2rlARvqV2A=",
"dev": true
},
"circular-json": {
"version": "0.3.3",
"resolved": "https://registry.npmjs.org/circular-json/-/circular-json-0.3.3.tgz",

View File

@ -64,7 +64,6 @@
"babel-runtime": "^6.0.0",
"bundle-loader": "^0.5.4",
"check-node-version": "^2.1.0",
"circular-dependency-plugin": "^3.0.0",
"css-loader": "^0.28.0",
"enzyme": "^2.2.0",
"eslint": "^4.0.0",

View File

@ -6,7 +6,6 @@ const webpack = require('webpack');
const loaderUtils = require('loader-utils');
const ExtractTextPlugin = require('extract-text-webpack-plugin');
const HtmlWebpackPlugin = require('html-webpack-plugin');
const CircularDependencyPlugin = require('circular-dependency-plugin');
const cssUrl = require('webpack-utils/cssUrl');
const cssImport = require('postcss-import');
@ -270,11 +269,7 @@ if (isProduction) {
if (!isProduction && !isTest) {
webpackConfig.plugins.push(
new webpack.HotModuleReplacementPlugin(),
new webpack.NoErrorsPlugin(),
new CircularDependencyPlugin({
exclude: /node_modules/,
failOnError: false
})
new webpack.NoErrorsPlugin()
);
if (config.apiHost) {