mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-11-21 11:04:24 +00:00
Build/grunt: Strip existing (protected) headers from to-be-minified CSS files
This commit is contained in:
parent
8769798cb3
commit
83756a1d87
2
grunt.js
2
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 + ">" ];
|
||||
});
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user