Skip to content

Commit 83756a1

Browse files
committed
Build/grunt: Strip existing (protected) headers from to-be-minified CSS files
1 parent 8769798 commit 83756a1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

grunt.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ uiFiles.concat( allI18nFiles ).forEach(function( file ) {
6464
});
6565

6666
cssFiles.forEach(function( file ) {
67-
minifyCSS[ "dist/" + file.replace( /\.css$/, ".min.css" ).replace( /themes\/base\//, "themes/base/minified/" ) ] = [ "<banner>", file ];
67+
minifyCSS[ "dist/" + file.replace( /\.css$/, ".min.css" ).replace( /themes\/base\//, "themes/base/minified/" ) ] = [ "<banner>", "<strip_all_banners:" + file + ">" ];
6868
});
6969

7070

0 commit comments

Comments
 (0)