EsBuildMinifierExtensions.AddEsBuildScriptMinifier method

namespace: Serenity.Extensions.DependencyInjection   assemblySerenity.Net.Web

Adds the EsBuild script minifier to the service collection.

public static IServiceCollection AddEsBuildScriptMinifier(this IServiceCollection collection)
parameter description
collection The service collection.

Return Value

The same service collection so that calls can be chained.

See Also