Skip to content

Commit ac52955

Browse files
committed
chore: remove webpack-filter-warnings-plugin
1 parent 6373100 commit ac52955

File tree

2 files changed

+0
-8
lines changed

2 files changed

+0
-8
lines changed

antd-tools/getWebpackConfig.js

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ const MiniCssExtractPlugin = require('mini-css-extract-plugin');
88
const CssMinimizerPlugin = require('css-minimizer-webpack-plugin');
99
const CaseSensitivePathsPlugin = require('case-sensitive-paths-webpack-plugin');
1010
const CleanUpStatsPlugin = require('./utils/CleanUpStatsPlugin');
11-
const FilterWarningsPlugin = require('webpack-filter-warnings-plugin');
1211
// const BundleAnalyzerPlugin = require('webpack-bundle-analyzer').BundleAnalyzerPlugin;
1312

1413
const distFileBaseName = 'antd';
@@ -209,12 +208,6 @@ All rights reserved.
209208
color: '#2f54eb',
210209
}),
211210
new CleanUpStatsPlugin(),
212-
new FilterWarningsPlugin({
213-
// suppress conflicting order warnings from mini-css-extract-plugin.
214-
// ref: https://github.com/ant-design/ant-design/issues/14895
215-
// see https://github.com/webpack-contrib/mini-css-extract-plugin/issues/250
216-
exclude: /mini-css-extract-plugin[^]*Conflicting order between:/,
217-
}),
218211
],
219212
performance: {
220213
hints: false,

package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,6 @@
261261
"webpack-bundle-analyzer": "^4.4.2",
262262
"webpack-cli": "^4.6.0",
263263
"webpack-dev-server": "^4.0.0",
264-
"webpack-filter-warnings-plugin": "^1.2.1",
265264
"webpack-merge": "^5.0.0",
266265
"webpackbar": "^5.0.2",
267266
"xhr-mock": "^2.5.1"

0 commit comments

Comments
 (0)