Skip to content

Commit

Permalink
Don't minify if filename have .min in it
Browse files Browse the repository at this point in the history
  • Loading branch information
canvural committed Jun 20, 2013
1 parent 49307e0 commit 4f2ed14
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/Munee/Asset/Type.php
Expand Up @@ -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);
}

Expand Down

0 comments on commit 4f2ed14

Please sign in to comment.