From b43908a249b89f7974f30a2dad5ecc73f1899ba0 Mon Sep 17 00:00:00 2001 From: Jonathan Goode Date: Sat, 17 Oct 2020 14:22:51 +0100 Subject: [PATCH] docs: use `ignoreWarnings` as `stats.warningsFilter` is deprecated --- README.md | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index afa8950..c0bb99a 100644 --- a/README.md +++ b/README.md @@ -131,13 +131,11 @@ module.exports = { }, ], }, - stats: { - warningsFilter: [/Failed to parse source map/], - }, + ignoreWarnings: [/Failed to parse source map/], }; ``` -More information about the `warningsFilters` option you can find [here](https://webpack.js.org/configuration/stats/#statswarningsfilter); +More information about the `ignoreWarnings` option you can find [here](https://webpack.js.org/configuration/#options:~:text=ignoreWarnings); ## Contributing