c# - StyleBundle IncludeDirectory can not match some files? -
some css files can not include them head tag use stylebundle includedirectory name ends min.css why?
bundles.add(new stylebundle("~/content/css").includedirectory("~/content/css", "*.css"));
according doc provided microsoft
note: unless enableoptimizations true or debug attribute in compilation element in web.config file set false, files not bundled or minified. additionally, .min version of files not used, full debug versions selected. enableoptimizations overrides debug attribute in compilation element in web.config file
read this.
so in debug mode, think should have non-min versions of css files.
Comments
Post a Comment