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
There is a major undocumented side-effect that occurs with importing modernizr-webpack-plugin, namely it sets NODE_ENV to development if it's not already set.
This is a major anti-pattern. If NODE_ENV needs to be defined for the plugin to work properly, then it should set it when the plugin is constructed, and even then, it should be documented somewhere that this is happening.
The text was updated successfully, but these errors were encountered:
There is a major undocumented side-effect that occurs with importing
modernizr-webpack-plugin
, namely it setsNODE_ENV
todevelopment
if it's not already set.See here for broken line.
This is a major anti-pattern. If
NODE_ENV
needs to be defined for the plugin to work properly, then it should set it when the plugin is constructed, and even then, it should be documented somewhere that this is happening.The text was updated successfully, but these errors were encountered: