-
-
Notifications
You must be signed in to change notification settings - Fork 84
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use ignoreWarnings
as stats.warningsFilter
is deprecated
#129
Conversation
Codecov Report
@@ Coverage Diff @@
## master #129 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 5 5
Lines 212 212
Branches 56 56
=========================================
Hits 212 212 Continue to review full report at Codecov.
|
stats: { | ||
warningsFilter: [/Failed to parse source map/], | ||
}, | ||
ignoreWarnings: [/Failed to parse source map/], |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ignoreWarnings
should be in stats
options
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not according to the output of Webpack. See webpack/webpack.js.org#3995 (comment)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks |
@evilebottnawi: when webpack/webpack.js.org#4076 is merged the options link can be updated to be https://webpack.js.org/configuration/other-options/#ignorewarnings |
The link `https://webpack.js.org/configuration/#options:~:text=ignoreWarnings` was added in webpack-contrib#129, I think the author used it as a workaround because the URL should be used here is blocked by this pull request webpack/webpack.js.org#4076. Now `#options:~:text=ignoreWarnings` was recognized as ID and webpack.js.org doesn't have it in the page which caused the failure of CI. This pull request removes the paragraph temporarily to fix CI for webpack.js.org. And we can add it back later.
ignoreWarnings
asstats.warningsFilter
is deprecated