EsBuildMinifierExtensions.AddEsBuildMinifiers method
namespace: Serenity.Extensions.DependencyInjection assembly: Serenity.Net.Web
Adds both the EsBuild CSS and script minifiers to the service collection.
public static IServiceCollection AddEsBuildMinifiers(this IServiceCollection collection)
| parameter | description |
|---|---|
| collection | The service collection. |
Return Value
The same service collection so that calls can be chained.