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

Warning Filter #1728

Closed
2 tasks done
ghost opened this issue Jan 26, 2021 · 2 comments
Closed
2 tasks done

Warning Filter #1728

ghost opened this issue Jan 26, 2021 · 2 comments
Labels
enhancement New feature or request

Comments

@ghost
Copy link

ghost commented Jan 26, 2021

⚠️ IMPORTANT ⚠️ Please check the following list before proceeding. If you ignore this issue template, your issue will be directly closed.

  • Read the docs.
  • Use Vite >=2.0. (1.x is no longer supported)

Describe the bug

Can you provide a function similar to warningFilter? For example, filtering externalized node built-in "fs" to empty module. This information is not displayed in the console

System Info

  • vite version:
  • Operating System:
  • Node version:
  • Package manager (npm/yarn/pnpm) and version:

Logs (Optional if provided reproduction)

  1. Run vite or vite build with the --debug flag.
  2. Provide the error log here.
@ghost ghost added the pending triage label Jan 26, 2021
@ghost ghost changed the title Warning Warning Filter Jan 26, 2021
@yyx990803 yyx990803 added enhancement New feature or request and removed pending triage labels Jan 26, 2021
@lubanproj
Copy link

@chad-bin Is what you need similiar to this plugin? webpack-filter-warnings-plugin

@bluwy
Copy link
Member

bluwy commented Jun 26, 2022

externalized node built-in "fs" to empty module doesn't happen in the latest Vite version anymore, and there hasn't been request needing this option. I also think that logLevel would also work for this, so it may be better to avoid having to similar options.

@bluwy bluwy closed this as not planned Won't fix, can't repro, duplicate, stale Jun 26, 2022
@github-actions github-actions bot locked and limited conversation to collaborators Jul 11, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants