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.
There is always a line Inferno is in development mode., whenever running a hexo command.
npm run build
> [email protected] build
> hexo generate
INFO Validating config
Inferno is in development mode. <----------- This line
INFO =======================================
██╗ ██████╗ █████╗ ██████╗ ██╗ ██╗███████╗
██║██╔════╝██╔══██╗██╔══██╗██║ ██║██╔════╝
██║██║ ███████║██████╔╝██║ ██║███████╗
██║██║ ██╔══██║██╔══██╗██║ ██║╚════██║
██║╚██████╗██║ ██║██║ ██║╚██████╔╝███████║
╚═╝ ╚═════╝╚═╝ ╚═╝╚═╝ ╚═╝ ╚═════╝ ╚══════╝
=============================================
INFO === Checking package dependencies ===
INFO === Checking theme configurations ===
There is nothing wrong regarding the functionality.
It's just a little annoying, since that Inferno should be a transparent dependency for the users
relying on this hexo theme. :D
Describe the solution you'd like
Maybe we can adjust the config SKIP_INFERNO_WARNINGS when calling the utilities from Inferno.
Describe alternatives you've considered
We can also require users to set NODE_ENV=production by theirselves
But personally I thought the default behavior should be turning this log off for users.
Is your feature request related to a problem? Please describe.
There is always a line
Inferno is in development mode.
, whenever running a hexo command.There is nothing wrong regarding the functionality.
It's just a little annoying, since that Inferno should be a transparent dependency for the users
relying on this hexo theme. :D
Describe the solution you'd like
Maybe we can adjust the config
SKIP_INFERNO_WARNINGS
when calling the utilities from Inferno.Describe alternatives you've considered
We can also require users to set
NODE_ENV=production
by theirselvesBut personally I thought the default behavior should be turning this log off for users.
Additional context
Related upstream thread: infernojs/inferno#1573
The text was updated successfully, but these errors were encountered: