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
When following the setup instructions in the readme I want to have webpack-dev-server running without any warnings or errors.
Actual Behavior
I end up with a warning because webpack-dev-server is in production mode.
WARNING in configuration The 'mode' option has not been set, webpack will fallback to 'production' for this value.
Please note that in readme it says: "This should be used for development only."
For Features; What is the motivation and/or use-case for the feature?
I would love one of the following:
change the readme instructions to include the --mode=development. Instead of letting people get a warning because of incorrect setup, and have to figure out a solution themselves (not obvious to everyone that webpack-dev-server takes the same flags as webpack).
This was already rejected, but I think it's highly related and deserves to be an option, so please see this as very respectfully and carefully mentioned: Revisit Default mode to development? #1327 (Default mode to development?), read the comments, and consider the number of 👍 vs 👎 and see if maybe it's reasonable to reconsider this request. If not, could we please have a slightly more detailed explanation to help us understand the issues? You never know, maybe someone has a different idea that would work for everyone. But to get there, they need to know the problem.
And of course either way: Thank you for a great plugin, only getting better!
The text was updated successfully, but these errors were encountered:
Expected Behavior
When following the setup instructions in the readme I want to have
webpack-dev-server
running without any warnings or errors.Actual Behavior
I end up with a warning because
webpack-dev-server
is in production mode.WARNING in configuration The 'mode' option has not been set, webpack will fallback to 'production' for this value.
Please note that in readme it says: "This should be used for development only."
For Features; What is the motivation and/or use-case for the feature?
I would love one of the following:
change the readme instructions to include the
--mode=development
. Instead of letting people get a warning because of incorrect setup, and have to figure out a solution themselves (not obvious to everyone thatwebpack-dev-server
takes the same flags aswebpack
).This was already rejected, but I think it's highly related and deserves to be an option, so please see this as very respectfully and carefully mentioned: Revisit Default mode to development? #1327 (Default mode to development?), read the comments, and consider the number of 👍 vs 👎 and see if maybe it's reasonable to reconsider this request. If not, could we please have a slightly more detailed explanation to help us understand the issues? You never know, maybe someone has a different idea that would work for everyone. But to get there, they need to know the problem.
And of course either way: Thank you for a great plugin, only getting better!
The text was updated successfully, but these errors were encountered: