Skip to content
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

Merged
merged 1 commit into from
Oct 17, 2020
Merged

Conversation

u01jmg3
Copy link
Contributor

@u01jmg3 u01jmg3 commented Oct 17, 2020

@codecov
Copy link

codecov bot commented Oct 17, 2020

Codecov Report

Merging #129 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@            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.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 42647d1...b43908a. Read the comment docs.

stats: {
warningsFilter: [/Failed to parse source map/],
},
ignoreWarnings: [/Failed to parse source map/],
Copy link
Member

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

Copy link
Contributor Author

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)

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@alexander-akait alexander-akait merged commit 7f38cd1 into webpack-contrib:master Oct 17, 2020
@alexander-akait
Copy link
Member

Thanks

@u01jmg3
Copy link
Contributor Author

u01jmg3 commented Oct 17, 2020

@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

chenxsan added a commit to chenxsan/source-map-loader that referenced this pull request Oct 18, 2020
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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants