question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

IgnoreWarningsPlugin not functioning properly

See original GitHub issue

Bug report

What is the current behavior? The IgnoreWarningsPlugin cannot ignore the warnings I specify normally Steps to reproduce:

  1. clone this repo: https://github.com/JarynChen/malagu
  2. then open the project root directory
  3. run lerna bootstrap to install packages
  4. run cd examples/backend-app to change to the test directory
  5. run malagu build
  6. you can see output warning image

If the current behavior is a bug, please provide the steps to reproduce.

  1. open node_modules/webpack/lib/IgnoreWarningsPlugin.js file
  2. replace with this code: https://github.com/JarynChen/webpack/blob/8a61ec80c24a6ba74cb10542904c7daead73be9e/lib/IgnoreWarningsPlugin.js#L24
  3. then you can see warning ignored

What is the expected behavior? Ignore warnings normally

Other relevant information: webpack version: 5.52.0 Node.js version: 16 Operating System: macos Additional tools: vscode

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:11 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
JarynChencommented, Feb 4, 2022

ok, thanks

1reaction
JarynChencommented, Feb 4, 2022

omg…

Read more comments on GitHub >

github_iconTop Results From Across the Web

frangio/hardhat-ignore-warnings - GitHub
This plugin adds ways to ignore Solidity warnings, and a way to turn remaining warnings into errors. Actual compilation errors will not be...
Read more >
Ignore errors and warnings for a VIM plugin - Stack Overflow
How can I ignore all errors from that plugin? I just want to be disturbed by these messages anymore. Is there any setting/function...
Read more >
Hide warnings in REST API issue - WordPress.org
We suppress the REST API warnings as our plugin is using it, and if any warning is present the front end of the...
Read more >
How to Disable WordPress PHP Error Messages - GreenGeeks
Step 3: Edit the wp-config File​​ php file. Click the “Save Changes” button in the top right. Once the file is saved, this...
Read more >
disable plugin only warnings - Unity Forum
Hi, is it possible to disable all the warnings of the source code under a specific folder? Some the libs/plugins we use are...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found