Skip to content

Commit

Permalink
docs: use ignoreWarnings as stats.warningsFilter is deprecated (#129
Browse files Browse the repository at this point in the history
)
  • Loading branch information
u01jmg3 authored Oct 17, 2020
1 parent 42647d1 commit 7f38cd1
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 7f38cd1

Please sign in to comment.