c# - Bundle Wont Include -


i have simple bundle wish include

@scripts.render("~/bundles/bjqs") 

the bundle config looks this

bundles.add(new scriptbundle("~/bundles/bjqs").include(     "~/scripts/bjqs-1.3.min.js")); 

however never gets included.

if manually include this

@scripts.render("~/scripts/bjqs-1.3.min.js"); 

it works, defeats purpose of bundle.

help me stack overflow, hope.

sometimes may need clear ignorelist,especially if including min files in bundle.

 bundles.ignorelist.clear(); 

and add

bundles.add(new scriptbundle("~/bundles/bjqs").include(     "~/scripts/bjqs-1.3.min.js")); 

a post on behavior here


Comments

Popular posts from this blog

c++ - Function signature as a function template parameter -

algorithm - What are some ways to combine a number of (potentially incompatible) sorted sub-sets of a total set into a (partial) ordering of the total set? -

How to call a javascript function after the page loads with a chrome extension? -