mirror of
https://github.com/elyby/accounts-frontend.git
synced 2024-11-10 01:52:04 +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"
|
"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": {
|
"circular-json": {
|
||||||
"version": "0.3.3",
|
"version": "0.3.3",
|
||||||
"resolved": "https://registry.npmjs.org/circular-json/-/circular-json-0.3.3.tgz",
|
"resolved": "https://registry.npmjs.org/circular-json/-/circular-json-0.3.3.tgz",
|
||||||
|
@ -64,7 +64,6 @@
|
|||||||
"babel-runtime": "^6.0.0",
|
"babel-runtime": "^6.0.0",
|
||||||
"bundle-loader": "^0.5.4",
|
"bundle-loader": "^0.5.4",
|
||||||
"check-node-version": "^2.1.0",
|
"check-node-version": "^2.1.0",
|
||||||
"circular-dependency-plugin": "^3.0.0",
|
|
||||||
"css-loader": "^0.28.0",
|
"css-loader": "^0.28.0",
|
||||||
"enzyme": "^2.2.0",
|
"enzyme": "^2.2.0",
|
||||||
"eslint": "^4.0.0",
|
"eslint": "^4.0.0",
|
||||||
|
@ -6,7 +6,6 @@ const webpack = require('webpack');
|
|||||||
const loaderUtils = require('loader-utils');
|
const loaderUtils = require('loader-utils');
|
||||||
const ExtractTextPlugin = require('extract-text-webpack-plugin');
|
const ExtractTextPlugin = require('extract-text-webpack-plugin');
|
||||||
const HtmlWebpackPlugin = require('html-webpack-plugin');
|
const HtmlWebpackPlugin = require('html-webpack-plugin');
|
||||||
const CircularDependencyPlugin = require('circular-dependency-plugin');
|
|
||||||
const cssUrl = require('webpack-utils/cssUrl');
|
const cssUrl = require('webpack-utils/cssUrl');
|
||||||
const cssImport = require('postcss-import');
|
const cssImport = require('postcss-import');
|
||||||
|
|
||||||
@ -270,11 +269,7 @@ if (isProduction) {
|
|||||||
if (!isProduction && !isTest) {
|
if (!isProduction && !isTest) {
|
||||||
webpackConfig.plugins.push(
|
webpackConfig.plugins.push(
|
||||||
new webpack.HotModuleReplacementPlugin(),
|
new webpack.HotModuleReplacementPlugin(),
|
||||||
new webpack.NoErrorsPlugin(),
|
new webpack.NoErrorsPlugin()
|
||||||
new CircularDependencyPlugin({
|
|
||||||
exclude: /node_modules/,
|
|
||||||
failOnError: false
|
|
||||||
})
|
|
||||||
);
|
);
|
||||||
|
|
||||||
if (config.apiHost) {
|
if (config.apiHost) {
|
||||||
|
Loading…
Reference in New Issue
Block a user