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
Post a Comment