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
Is your feature request related to a problem? Please describe.
It is annoying to manually comment/remove the Debug.log lines to be able to compile an app with the --optimize flag, because it is likely that, while returning on a project, the debug messages once removed will come in handy again.
Describe the solution you'd like
Guida should avoid to output console messages while compiling with the --optimize flag. In practice, this could mean to replace the current Debug.log implementation with an "identity" function that returns the given argument to the caller.
Related Elm Features
The feature is already implemented in Lamdera while using the deploy and check commands. Please see this PR lamdera/compiler#8 and in particular this commit lamdera/compiler@3616c00