WebOptimizer
WebOptimizer copied to clipboard
Unable to change settings from code / Documentation out of date
Using version 3.0.372. The docs on the main page say that the settings can be modified, such as:
services.AddWebOptimizer(pipeline =>
{
pipeline.AddCssBundle("/css/bundle.css", "css/*.css");
pipeline.AddJavaScriptBundle("/js/bundle.js", "js/plus.js", "js/minus.js");
},
option =>
{
option.EnableCaching = true;
option.EnableDiskCache = false;
option.EnableMemoryCache = true;
option.AllowEmptyBundle = true;
});
I'm unable to see an overload that allows me to configure the options using AddWebOptimizer
fyi: the update with those overloads didnt make it to NuGet #267
I'll release a new version