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

docs: how to ignore specific warnings #4605

Merged
merged 1 commit into from
Sep 8, 2023
Merged

Conversation

9aoy
Copy link
Collaborator

@9aoy 9aoy commented Sep 8, 2023

Summary

todo: web-infra-dev/rspack#4152

🤖 Generated by Copilot at 845913d

This pull request adds a new feature to Builder that allows users to ignore specific warnings from the bundler tool. It updates the BundlerChain interface and the English and Chinese documentation in features.md files.

Details

🤖 Generated by Copilot at 845913d

  • Add ignoreWarnings property to BundlerChain interface to allow filtering out warnings from webpack or Rspack bundler (link)
  • Document how to use ignoreWarnings property in Builder guide for English and Chinese users (link, link)
  • Provide an example and a link to webpack documentation for ignoreWarnings property in features.md files (link, link)

Related Issue

Checklist

  • I have added changeset via pnpm run change.
  • I have updated the documentation.
  • I have added tests to cover my changes.

@changeset-bot
Copy link

changeset-bot bot commented Sep 8, 2023

⚠️ No Changeset found

Latest commit: 845913d

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@9aoy 9aoy requested a review from chenjiahan September 8, 2023 03:45
@codecov
Copy link

codecov bot commented Sep 8, 2023

Codecov Report

Patch coverage has no change and project coverage change: -3.51% ⚠️

Comparison is base (99693f0) 57.59% compared to head (845913d) 54.09%.
Report is 1123 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #4605      +/-   ##
==========================================
- Coverage   57.59%   54.09%   -3.51%     
==========================================
  Files         672      652      -20     
  Lines       17794    17902     +108     
  Branches     3876     4125     +249     
==========================================
- Hits        10249     9684     -565     
- Misses       6934     7566     +632     
- Partials      611      652      +41     

see 454 files with indirect coverage changes

☔ View full report in Codecov by Sentry.

📢 Have feedback on the report? Share it here.

@chenjiahan chenjiahan merged commit 7d15abf into main Sep 8, 2023
10 checks passed
@chenjiahan chenjiahan deleted the docs/ignoreWarnings branch September 8, 2023 04:50
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