title: IItemTransform and existing minified files
body: <p><strong>TL;DR</strong>: <code>IItemTransform</code> isn't getting executed when a minified file already exists in the same folder as the original (non-minified) file.</p>
  <h2>Problem explanation</h2>
  <p>I'm having this issue mainly because of CSS relative image references. If you used <code>IItemTransform</code> with Javascript files, the same applies.</p>
  <p>This is what I'm using:</p>
  <ol>
  <li>I'm using Visual Studio with Web Essentials addin to have support for LESS files</li>
  <li>I'm writing LESS files and have Web Essentials addin automatically minify files on save</li>
  <li>I'm also using bundling and minification in my project</li>
  <li>When creating CSS bundles I'm using <code>CssRewriteUrlTransform</code> to make CSS URLs absolute (i.e. background images) so that images still work after bundling several CSS files together</li>
  </ol>
  <p>Nothing unusual here so far, but it doesn't work.</p>
  <h3>What seems to be the problem?</h3>
  <p>The way that bundling and minification works is it tries to avoid excessive processing. This means that when a minified file exists in the same folder as the original one it won't run its own minification and rather serve existing file.</p>
  <p>This would be all right as long as it would at least run transforms over those preexisting minified files. But it doesn't. So I end up with relative URLs in a bundle which breaks pretty much all those resources.</p>
  <h2>Workarounds</h2>
  <ol>
  <li>Always provide absolute paths in LESS files</li>
  <li>Disable file minification on save in Web Essentials settings</li>
  <li>Refer to minified files when defining my bundles because they don't have a <em>minified</em> version (*.min.css doens't have a *.min.min.css) so minifier actually picks up the file and minifies while also running transformations over it.</li>
  </ol>
  <p>From the standpoint of my development process and tools used (and configured the way they are) this looks like a bug. If those files would be the result of the same minification process this wouldn't be a bug at all as transformations would be executed when minification would execute. It's true that such functionality doesn't exist and likely never will as app would need write permissions to make it work. Outcome: <strong>this is a bug</strong>. Existing minified files should be processed through transformations before being cached.</p>
  <h2>Question</h2>
  <p>Is it possible to somehow convince bundling and minification to either:</p>
  <ol>
  <li><strong>not use</strong> existing minified file versions</li>
  <li><strong>run transformations</strong> over existing minified versions</li>
  </ol>