I was able to bump the grade to 87/100 but there is this pesky error that I cannot tackle, even though I have a general understanding of the cause.
/* Minification failed. Returning unminified contents.
Well an undeclared JS global? according to my research, the solution seem to be editing the GlobalsToIgnore setting in the webgrease manifest file to include:
<GlobalsToIgnore>ignoreMe</GlobalsToIgnore>so the task can finalize the run sucesffully and allow me to reduce the size of
http://ehubcap.net/bundles/styles/m_-k4knxhunaghoctbzgv93owj0bpre8tqtz7e6jyqe1.css?v=rO0nmbulduClHDKv9fM2CJdWFFAHnCCk8IWY6YSyqQo1by 10KiB (27% reduction).
How can I accomplish that?
Thank you all
Stackoverflow has this:
"WebGrease supports two modes: runtime and buildtime.
Runtime mode is used by ASP.NET during bundling and minifying. In this mode, WebGrease DLLs are called during the run time of the web site.
Buildtime mode (or command line mode) is used when WG.EXE is called from command line or from build process.
WebGrease manifests is the feature that is only available for build time or for running WG.EXE from command line. These manifest files provide the way for user to add the additional configuration parameters for WebGrease (such as "GlobalsToIgnore").
Unfortunately, WG manifests are not available for runtime. So, if you are minifying from ASP.NET, you will not be able to use them."