Replace warning with smaller version
See original GitHub issuewarning
package is published as a strong mirror of fbjs thing. Maintainer even do not want to support esm. This requires to transpile more packages from commonjs when bundling app with rollup.
There is a smaller alternative https://github.com/alexreardon/tiny-warning. It doesn’t allow passing arguments and interpolation should be used instead. It’s distributed as esm and has flow types out of the box.
react-router
already migrated to it.
https://github.com/ReactTraining/react-router/blob/master/packages/react-router/package.json#L50-L51
Issue Analytics
- State:
- Created 5 years ago
- Comments:27 (27 by maintainers)
Top Results From Across the Web
Compiler Warnings by compiler version | Microsoft Learn
We recommend you always compile at the highest regular warning level, /W4 , and remove the /Wv option in your build as soon...
Read more >Can I treat a specific warning as an error? - Stack Overflow
Visual Studio reports a warning C4715 (not all control paths return a value), and I would like to treat all warnings C4715 as...
Read more >Disable all warnings. | Apple Developer Forums
hi, I want to know how to remove/disable all errors on Xcode while am writing a code, as am practicing for an exam...
Read more >Swift Tip - #warning & #error - YouTube
In this video I discuss one of my favorite features of Swift that was introduced in Swift 4.2, # warning and #error.
Read more >May 2022 Status Update for Clear and Reasonable Warnings
The proposed rulemaking to amend the regulation related to short-form Proposition 65 warnings was initially noticed in the California ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Let’s migrate then?
Hey, guys. ie9 is dead browser. I think major release is a good reason to stop supporting it. https://www.microsoft.com/en-us/WindowsForBusiness/End-of-IE-support