feature: ignore warnings when a target or source is not found#196
feature: ignore warnings when a target or source is not found#196lukasberanek-tpa wants to merge 1 commit intopierpo:masterfrom
Conversation
|
Hey! Thank you for the contribution. I'm not sure about the feasibility of a dev mode/prod mode for a library though. I'm not sure we can use |
|
Unfortunately this won't fix my "problem": |
|
In that case, maybe we should ignore all warnings by default, and set a It's a breaking change though, but a minor one. |
|
I actually think that the warning is a good indicator for the majority of use cases. Obviously I found one where it's not desired :) Maybe we have to combine our suggestions by adding isDebug: props.isDebug ?? process.env.NODE_ENV !== "production"on the context.
What do you think? |
|
@pierpo Do we have any update on this? Even I want to get rid of these warnings. |
Pretty self-explanatory:
ignore
console.warnin case the target or source is not found.