Dev Middleware Class
Extension methods that can be used to enable Webpack dev middleware support.
public ref class WebpackDevMiddleware abstract sealed
public static class WebpackDevMiddleware
[System.Obsolete("Use Microsoft.AspNetCore.SpaServices.Extensions")] public static class WebpackDevMiddleware
type WebpackDevMiddleware = class
[<System.Obsolete("Use Microsoft.AspNetCore.SpaServices.Extensions")>] type WebpackDevMiddleware = class
Public Module WebpackDevMiddleware
Enables Webpack dev middleware support. This hosts an instance of the Webpack compiler in memory in your application so that you can always serve up-to-date Webpack-built resources without having to run the compiler manually. Since the Webpack compiler instance is retained in memory, incremental compilation is vastly faster that re-running the compiler from scratch.
Incoming requests that match Webpack-built files will be handled by returning the Webpack compiler output directly, regardless of files on disk. If compilation is in progress when the request arrives, the response will pause until updated compiler output is ready.