From 170be2c6f0a189cbdb0155ea8d30753fd5bcf43f Mon Sep 17 00:00:00 2001 From: SleepWalker Date: Tue, 22 Aug 2017 22:34:43 +0300 Subject: [PATCH] #305: remove circular dependency detection plugin --- package-lock.json | 6 ------ package.json | 1 - webpack.config.js | 7 +------ 3 files changed, 1 insertion(+), 13 deletions(-) diff --git a/package-lock.json b/package-lock.json index e8d4578..6c25fbe 100644 --- a/package-lock.json +++ b/package-lock.json @@ -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", diff --git a/package.json b/package.json index fa06d13..8d9ffb8 100644 --- a/package.json +++ b/package.json @@ -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", diff --git a/webpack.config.js b/webpack.config.js index afb0ee3..ef2894d 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -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) {