Skip to content

EsBuildMinifierExtensions.AddEsBuildMinifiers method

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.

See Also