Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Sulochan Thapa 12 posts 92 karma points
    Aug 19, 2021 @ 18:13
    Sulochan Thapa
    0

    Client Dependency cannot minimize and bundle css

    Hi,

    I have been using ClientDependency to minimize and bundle css and js but i recently noticed that after publishing and updating the website to production server a couple of times the css files are neither minimized nor bundled when the "enableMinifyCss=true" in cliendepenency.config file. Please note that the: Debug="false", I increment ClientDependency Version every time i make changes to css/js files. I have deleted the temp file, cache and recycled application pool. But still the css are not bundled or minified.

  • Ken Mark 82 posts 94 karma points
    Aug 23, 2021 @ 19:58
    Ken Mark
    0

    Do you have <compilation debug="false" in web.config?

  • Sulochan Thapa 12 posts 92 karma points
    Aug 24, 2021 @ 10:11
    Sulochan Thapa
    0

    Yes, it was working fine but after I added few styles in css the Client Dependency stopped working and if I set enableCssMinify=false then atleast the bundling part works.

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies