Issue Compressing or minifying not working in Asp Dotnet MVC Bundle




Script sometimes not minifying or compressing which are referenced in bundle config. This can be happend-

                         1.because Bundle is used instead of ScriptBundle
                         2.occur when you are in DEBUGGING mode.

Ok after testing above things if still there is problem then add this to your bundle config
                         BundleTable.EnableOptimizations = true;

Leave a Reply

Your email address will not be published. Required fields are marked *