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
As might be the case with certain plugins are other parts of Greenwood's build pipeline, having a production flag that is set during the config lifecycle based on whether it is a develop or build CLI command.
Basically, establish a way to enable different modes, e.g.
# prod mode by default
$ greenwood --mode=debug|develop|prod
debug: extra (meaningful) console logging (user config, graph) and writing out to files
develop: extra console logging like in debug mode but no writing out to files
prod: Just the basic status message we already see now
Details
A good use case would be disabling the Analytics plugin when developing, and thus only enabling it when building for production.
Type of Change
Summary
As might be the case with certain plugins are other parts of Greenwood's build pipeline, having a
production
flag that is set during theconfig
lifecycle based on whether it is adevelop
orbuild
CLI command.Basically, establish a way to enable different modes, e.g.
debug
: extra (meaningful) console logging (user config, graph) and writing out to filesdevelop
: extra console logging like indebug
mode but no writing out to filesprod
: Just the basic status message we already see nowDetails
A good use case would be disabling the Analytics plugin when developing, and thus only enabling it when building for production.
The text was updated successfully, but these errors were encountered: