Build/grunt: Strip existing (protected) headers from to-be-minified CSS files

This commit is contained in:
Jörn Zaefferer 2012-04-02 16:05:59 +02:00
parent 8769798cb3
commit 83756a1d87

View File

@ -64,7 +64,7 @@ uiFiles.concat( allI18nFiles ).forEach(function( file ) {
});
cssFiles.forEach(function( file ) {
minifyCSS[ "dist/" + file.replace( /\.css$/, ".min.css" ).replace( /themes\/base\//, "themes/base/minified/" ) ] = [ "<banner>", file ];
minifyCSS[ "dist/" + file.replace( /\.css$/, ".min.css" ).replace( /themes\/base\//, "themes/base/minified/" ) ] = [ "<banner>", "<strip_all_banners:" + file + ">" ];
});