Skip to content

Commit

Permalink
fix: add webpack plugin filter: webpack-filter-warnings-plugin webpac…
Browse files Browse the repository at this point in the history
  • Loading branch information
hubcarl committed Nov 15, 2018
1 parent fa11a07 commit b19ee30
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
7 changes: 7 additions & 0 deletions config/plugin.js
Original file line number Diff line number Diff line change
Expand Up @@ -269,4 +269,11 @@ exports.copy = {
enable: false,
type: 'client',
name: 'copy-webpack-plugin'
};

exports.filter = {
name: 'webpack-filter-warnings-plugin',
args: {
exclude: /\[mini-css-extract-plugin]\nConflicting order between:/
}
};
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "easywebpack",
"version": "4.10.0-rc.3",
"version": "4.10.0-rc.4",
"description": "基于 Webpack 的前端构建工程化解决方案",
"keywords": [
"webpack",
Expand Down Expand Up @@ -58,6 +58,7 @@
"webpack-asset-file-plugin": "^1.0.0",
"webpack-hot-middleware": "^2.13.2",
"webpack-manifest-resource-plugin": "^4.0.0",
"webpack-filter-warnings-plugin": "^1.2.0",
"webpack-node-externals": "^1.6.0",
"webpack-tool": "next"
},
Expand Down

0 comments on commit b19ee30

Please sign in to comment.