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

Popular posts from this blog

node.js - How to mock a third-party api calls in the backend -

node.js - Why do I get "SOCKS connection failed. Connection not allowed by ruleset" for some .onion sites? -

matlab - 0-by-1 sym - What do I need to change in order to get proper symbolic results? -