I have followed the steps from this document, to setup bundling & minification in my local instance.
It works with & without executing the last two steps, which are:
Adding the remove
attribute for the bundle
<system.webServer>
...
<remove name="BundleModule"/>
<add type="System.Web.Optimization.BundleModule" name="BundleModule"/>
</system.webServer>
Adding a setting to ignore url prefixes:
<configuration xmlns:patch="http://www.sitecore.net/xmlconfig/">
<sitecore>
<settings>
<setting name="IgnoreUrlPrefixes" value="(all other sitecore paths here)|/bundles"/>
</settings>
</sitecore>
</configuration>
Please help me understand what do they do and if they are mandatory.