You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
No. This is a feature request. if we can add drop_console to webpack.config.prod.js#L288-L296 here, and add a .env field like DROP_CONSOLE=true to toggle this feature, default is false. Then it's more flexible.
The text was updated successfully, but these errors were encountered:
Try creating a log class that wraps console API. Then include the env check to automagically skip logging if prod. There are also logging modules that can do this too.
Is this a bug report?
No. This is a feature request. if we can add
drop_console
to webpack.config.prod.js#L288-L296 here, and add a.env
field likeDROP_CONSOLE=true
to toggle this feature, default isfalse
. Then it's more flexible.The text was updated successfully, but these errors were encountered: