When compilation debug="true" Optimus should not bundle file
When using ASP.NET bundling normally and compilation debug="true" is set in web.config the output from the Styles and Scripts helpers render as individual files so you can easily debug, it would be great if the same happened when using Optimus!
Awesome Tim, works perfectly now! Also I just discovered the sound effect when saving a bundle, I wonder if this is the first Umbraco package to contain sound effects..... :-)
I'm using Umbraco 6.2.4 and Optimus 1.2.1 but when i set compilation debug to true in the root web.config it still bundles. Is this a bug or is there another way to make it not bundle temporarily while debugging?
When compilation debug="true" Optimus should not bundle file
When using ASP.NET bundling normally and compilation debug="true" is set in web.config the output from the Styles and Scripts helpers render as individual files so you can easily debug, it would be great if the same happened when using Optimus!
See the "Controlling Bundling and Minification" section here http://www.asp.net/mvc/tutorials/mvc-4/bundling-and-minification
Thanks!
Yup will get that updated :)
Easy to change if you need it fast, just remove line 19 from this file
https://github.com/TimGeyssens/BundlingAndMinificationForTheMasses/blob/master/BundlingAndMinificationForTheMasses/App_Start/BundleConfig.cs
Awesome Tim, works perfectly now! Also I just discovered the sound effect when saving a bundle, I wonder if this is the first Umbraco package to contain sound effects..... :-)
:)
I'm using Umbraco 6.2.4 and Optimus 1.2.1 but when i set compilation debug to
true
in the root web.config it still bundles. Is this a bug or is there another way to make it not bundle temporarily while debugging?Hi Johan,
You also need to change the ignoreCompilationDebug setting to False in /App_Plugins/Optimus/Config/bundles.config and then fully cycle the app pool.
Jeavon
Thanks Jeavon!
Cheers Tim :)
is working on a reply...
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.