This repository was archived by the owner on Apr 8, 2020. It is now read-only.
This repository was archived by the owner on Apr 8, 2020. It is now read-only.
No way to specify webpack 4 "mode" in WebpackDevMiddlewareOptions? #1595
Closed
Description
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?
Metadata
Metadata
Assignees
Labels
No labels