Permalink
Browse files

Don't minify if filename have .min in it

  • Loading branch information...
canvural committed Jun 20, 2013
1 parent 49307e0 commit 4f2ed14b225e5c22173ef221114f72e610c4bbc2
Showing with 3 additions and 0 deletions.
  1. +3 −0 src/Munee/Asset/Type.php
View
@@ -232,6 +232,9 @@ protected function getFileContent($originalFile, $cacheFile)
if (! is_array($arguments)) {
$arguments = array($filterName => $arguments);
}
if(strpos($originalFile, '.min') !== FALSE) {
$arguments['minify'] = false;
}
$Filter->doFilter($cacheFile, $arguments, $this->options);
}

0 comments on commit 4f2ed14

Please sign in to comment.