Thursday 4 April 2013

Sorting a ScriptBundle based on /// reference tags

Introduction If you're using ASP.NET Optimization to combine and minify your JavaScript or TypeScript files, you'll notice that the bundling framework will put certain known scripts first (e.g. jQuery) and then sort the remaining ones alphabetically. However, if some scripts have dependencies on other scripts, you're often forced to specify an explicit order and turn off the sorting.
crawled from : anderson.geek.nz

No comments:

Post a Comment