No way to specify webpack 4 "mode" in WebpackDevMiddlewareOptions? #113

Closed
opened 2025-08-09 17:15:03 +00:00 by fergalmoran · 0 comments
Owner

Originally created by @jakelauer on 3/27/2018

I am getting this warning when using WebpackDevMiddleware:

[HMR] bundle has 4 warnings
configuration
The 'mode' option has not been set. Set 'mode' option to 'development' or 'production' to enable defaults for this environment.

I am not seeing a way to specify this flag from WebpackDevMiddlewareOptions. Am I missing something?

*Originally created by @jakelauer on 3/27/2018* I am getting this warning when using WebpackDevMiddleware: > [HMR] bundle has 4 warnings configuration The 'mode' option has not been set. Set 'mode' option to 'development' or 'production' to enable defaults for this environment. I am not seeing a way to specify this flag from WebpackDevMiddlewareOptions. Am I missing something?
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github/JavaScriptServices#113
No description provided.