Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to change settings from code / Documentation out of date #265

Open
CallumRBreen opened this issue Jan 31, 2023 · 2 comments
Open

Comments

@CallumRBreen
Copy link

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

@ZephyrZiggurat
Copy link

fyi: the update with those overloads didnt make it to NuGet #267

@madskristensen
Copy link
Member

I'll release a new version

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants