]> source.dussan.org Git - jquery-ui.git/commitdiff
Build/grunt: Strip existing (protected) headers from to-be-minified CSS files
authorJörn Zaefferer <joern.zaefferer@gmail.com>
Mon, 2 Apr 2012 14:05:59 +0000 (16:05 +0200)
committerJörn Zaefferer <joern.zaefferer@gmail.com>
Mon, 2 Apr 2012 14:05:59 +0000 (16:05 +0200)
grunt.js

index 0f72e484276d6481df8d69562a7e37180e6cd673..a8ab7c666f11bcb7bae953678a5e75769d5f5613 100644 (file)
--- a/grunt.js
+++ b/grunt.js
@@ -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 + ">" ];
 });