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
{{ message }}
This repository was archived by the owner on Apr 8, 2020. It is now read-only.
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?
The text was updated successfully, but these errors were encountered:
To update to WebPack 4, --mode should be specified somehow always, so it may ask for some more drastic changes in all JavaScriptServices and/or middlewares.
--mode development will not do uglifying, map-ing, bundling, cherry-picking and other things it now does automatically for --mode production. And moreover - production mode now is default (if not speficied). Could be good if JavaScript services could be updated to support Webpack 4, so we get development more goodness with it. As additional - webpack 4 is reported to be considerably faster than previous versions.
I am getting this warning when using WebpackDevMiddleware:
I am not seeing a way to specify this flag from WebpackDevMiddlewareOptions. Am I missing something?
The text was updated successfully, but these errors were encountered: