mirror of
https://github.com/jquery/jquery-ui.git
synced 2026-04-20 03:02:41 -04:00
Build/grunt: Strip existing (protected) headers from to-be-minified CSS files
This commit is contained in:
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 + ">" ];
|
||||
});
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user