aboutsummaryrefslogtreecommitdiffstats
path: root/grunt.js
diff options
context:
space:
mode:
authorJörn Zaefferer <joern.zaefferer@gmail.com>2012-04-02 16:05:59 +0200
committerJörn Zaefferer <joern.zaefferer@gmail.com>2012-04-02 16:05:59 +0200
commit83756a1d874823389f6e378ebdce014efe3d9bf7 (patch)
treea1df3a42cbed45c79c81edc6f7ba39805ac56ce7 /grunt.js
parent8769798cb32e95e20ebb9bb9772a6895520a78ac (diff)
downloadjquery-ui-83756a1d874823389f6e378ebdce014efe3d9bf7.tar.gz
jquery-ui-83756a1d874823389f6e378ebdce014efe3d9bf7.zip
Build/grunt: Strip existing (protected) headers from to-be-minified CSS files
Diffstat (limited to 'grunt.js')
-rw-r--r--grunt.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/grunt.js b/grunt.js
index 0f72e4842..a8ab7c666 100644
--- 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 + ">" ];
});