mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-11-29 09:41:45 +00:00
[@types/webpack-dev-server] Fix stats to webpack.Options.Stats
This commit adds more stats options available to webpack-dev-server. The webpack site [0] states that all webpack.Options.Stats are supported on webpack-dev-server: "For webpack-dev-server, this property needs to be in the devServer object." [0]: https://webpack.js.org/configuration/stats/
This commit is contained in:
Vendored
+1
-1
@@ -158,7 +158,7 @@ declare namespace WebpackDevServer {
|
||||
* This option lets you precisely control what bundle information gets displayed.
|
||||
* This can be a nice middle ground if you want some bundle information, but not all of it.
|
||||
*/
|
||||
stats?: string | webpack.Stats;
|
||||
stats?: string | webpack.Options.Stats;
|
||||
/** This option lets the browser open with your local IP. */
|
||||
useLocalIp?: boolean;
|
||||
/** Tell the server to watch the files served by the devServer.contentBase option. File changes will trigger a full page reload. */
|
||||
|
||||
Reference in New Issue
Block a user