Skip to content

Commit 7f38cd1

Browse files
authored
docs: use ignoreWarnings as stats.warningsFilter is deprecated (webpack-contrib#129)
1 parent 42647d1 commit 7f38cd1

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

README.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -131,13 +131,11 @@ module.exports = {
131131
},
132132
],
133133
},
134-
stats: {
135-
warningsFilter: [/Failed to parse source map/],
136-
},
134+
ignoreWarnings: [/Failed to parse source map/],
137135
};
138136
```
139137

140-
More information about the `warningsFilters` option you can find [here](https://webpack.js.org/configuration/stats/#statswarningsfilter);
138+
More information about the `ignoreWarnings` option you can find [here](https://webpack.js.org/configuration/#options:~:text=ignoreWarnings);
141139

142140
## Contributing
143141

0 commit comments

Comments
 (0)