-
-
Save Snegovikufa/cd0cf6408a480dd29f30 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public static void RegisterBundles(BundleCollection bundles) | |
{ | |
bundles.IgnoreList.Clear(); | |
AddDefaultIgnorePatterns(bundles.IgnoreList); | |
} | |
public static void AddDefaultIgnorePatterns(IgnoreList ignoreList) | |
{ | |
if (ignoreList == null) | |
{ | |
throw new ArgumentNullException("ignoreList"); | |
} | |
ignoreList.Ignore("*.intellisense.js"); | |
ignoreList.Ignore("*-vsdoc.js"); | |
//ignoreList.Ignore("*.debug.js", OptimizationMode.WhenEnabled); | |
//ignoreList.Ignore("*.min.js", OptimizationMode.WhenDisabled); | |
//ignoreList.Ignore("*.min.css", OptimizationMode.WhenDisabled); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment