Copied to clipboard

Flag this post as spam?

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


  • Jeavon Leopold 3008 posts 13221 karma points MVP 7x admin c-trib
    Jul 31, 2013 @ 15:36
    Jeavon Leopold
    0

    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!

  • Tim Geyssens 6562 posts 15373 karma points MVP 2x c-trib
    Jul 31, 2013 @ 15:40
    Tim Geyssens
    1

    Yup will get that updated :)

  • Tim Geyssens 6562 posts 15373 karma points MVP 2x c-trib
    Jul 31, 2013 @ 15:42
  • Jeavon Leopold 3008 posts 13221 karma points MVP 7x admin c-trib
    Jul 31, 2013 @ 15:59
    Jeavon Leopold
    0

    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..... :-)

  • Tim Geyssens 6562 posts 15373 karma points MVP 2x c-trib
    Jul 31, 2013 @ 16:00
    Tim Geyssens
    0

    :)

  • Johan 188 posts 380 karma points
    Nov 27, 2014 @ 10:28
    Johan
    0

    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?

  • Jeavon Leopold 3008 posts 13221 karma points MVP 7x admin c-trib
    Nov 27, 2014 @ 13:01
    Jeavon Leopold
    1

    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

  • Johan 188 posts 380 karma points
    Nov 27, 2014 @ 13:59
    Johan
    0

    Thanks Jeavon!

  • Simon 692 posts 1068 karma points
    May 21, 2015 @ 12:02
    Simon
    0

    Cheers Tim :)

  • 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