mirror of
https://github.com/elyby/accounts-frontend.git
synced 2025-05-31 14:11:58 +05:30
#305: remove circular dependency detection plugin
This commit is contained in:
@@ -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) {
|
||||
|
Reference in New Issue
Block a user