Basic config in wiki docs, fail to skip minified files ending with *.min.js & *.min.css extensions.
JimiGR1 opened this issue · 4 comments
Im using the improved example (end of the page) found here:
https://github.com/Taritsyn/BundleTransformer/wiki/Examples-of-usage
Using MicrosoftAjaxJsMinifier as default jsMinifier in web.config. and CustomScriptBundle that contains some pre-minifed files with *.min.js extensions.
By reading the docs I ended up in the conclusion that above mentioned files should be skipped from ninification process by default, based on .min.js extension, but that's not the case.
I get erros from MicrosoftAjaxJsMinifier inside those .min files, meaning that they aren't actually skipped from minification.
Is it a misconfiguration by my part? Or my conclusion is wrong in the first place?
Hello!
Try making a demo project that reproduces this error and send me a link to it.
Thank you for the fast response.
Here is the demo:
https://www.dropbox.com/s/ls8eo1b8aschf6e/BundleTransformerDemo.zip?dl=0
BundleConfig.cs has the relevant lines of code.
Web.config may be checked as well.
Rename a ol-min.js
file to the ol.min.js
file.
That was it! It is matching *.min.js.
Thank you for your excellent support.
This is one of my favorite packages. Keep it up!