mirror of
https://github.com/elyby/accounts-frontend.git
synced 2024-11-23 00:22:57 +05:30
#305: remove circular dependency detection plugin
This commit is contained in:
parent
126ce37007
commit
170be2c6f0
6
package-lock.json
generated
6
package-lock.json
generated
@ -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",
|
||||
|
@ -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",
|
||||
|
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user