javascript - Bundling with subdirectories and Areas not working in release mode -
i have mvc web site has area called admin. use tinymce in both root pages , in admin pages. in dev environment work correctly in release environment tinymce.js file gets loaded part of bundle plugins , other js files go along don't load.
if set debug true works correctly.
my bundle looks this:
bundles.add(new scriptbundle("~/bundles/jquery").include( "~/scripts/jquery-{version}.js" )); var tinymcebundle = new scriptbundle("~/tinymce").includedirectory("~/scripts/tinymce", "*.js", true); bundles.add(tinymcebundle);
why doesn't work?
you try this:
bundles.add(new bundle("~/tinymce") .includedirectory("~/scripts/tinymce", "*.js", true));
it works me on project.
Comments
Post a Comment