diff --git a/Kwf/Assets/Modernizr/Dependency.php b/Kwf/Assets/Modernizr/Dependency.php
index <HASH>..<HASH> 100644
--- a/Kwf/Assets/Modernizr/Dependency.php
+++ b/Kwf/Assets/Modernizr/Dependency.php
@@ -80,6 +80,9 @@ class Kwf_Assets_Modernizr_Dependency extends Kwf_Assets_Dependency_Abstract
         $ret = file_get_contents($outputFile);
         unlink($outputFile);
 
+        //remove comments containing selected tests
+        $ret = preg_replace("#\n/\*!\n\{.*?\}\n!\*/\n#s", '', $ret);
+
         $ret = Kwf_SourceMaps_SourceMap::createEmptyMap($ret);
 
         $map = $ret->getMapContentsData(false);
Modernizr Dependency: remove comments containing selected tests

For every test the following was added in the build:
/*!
{
  "name": "CSS Media Queries",
  "caniuse": "css-mediaqueries",
  "property": "mediaqueries",
  "tags": ["css"],
  "builderAliases": ["css_mediaqueries"]
}
!*/

this regexp removes it