-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Default mode to development? #1327
Comments
@billyjanitsch no, you should set
|
I'm with @billyjanitsch here, the default should be |
This would be a really nice enhancement.
However, if this repo was called |
@evilebottnawi Are you kidding?) It's absolutely illogical to have |
Expected Behavior
webpack-dev-server
should defaultmode
to"development"
, since that will be the developer's intention in the vast majority of cases.Actual Behavior
Currently,
mode
does not have a default, which causes webpack to default it to"production"
and emit a warning.For Bugs; How can we reproduce the behavior?
For Features; What is the motivation and/or use-case for the feature?
It's understandable for webpack itself to default to production settings if a mode isn't explicitly specified, but since webpack-dev-server is intended only for use in development, it seems reasonable to default to development settings unless the user explicitly overrides them.
The text was updated successfully, but these errors were encountered: