Skip to:
Content

BuddyPress.org

Changeset 10705


Ignore:
Timestamp:
04/13/2016 11:38:53 PM (10 years ago)
Author:
djpaul
Message:

Build tools: remove banners added to minified CSS and JS files.

Fixes an issue where the minified file would always change because of the compiled date/time even when there were no code changes.
This was causing unneeded changes when merging/updating when using version control external to BuddyPress.

Fixes #6541

Props netweb

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Gruntfile.js

    r10399 r10705  
    179179                                ext: '.min.js',
    180180                                src: BP_JS
    181                         },
    182                         options: {
    183                                 banner: '/*! <%= pkg.name %> - v<%= pkg.version %> - ' +
    184                                 '<%= grunt.template.today("UTC:yyyy-mm-dd h:MM:ss TT Z") %> - ' +
    185                                 'https://wordpress.org/plugins/buddypress/ */\n'
    186181                        }
    187182                },
     
    201196                                expand: true,
    202197                                ext: '.min.css',
    203                                 src: BP_CSS,
    204                                 options: {
    205                                         banner: '/*! <%= pkg.name %> - v<%= pkg.version %> - ' +
    206                                         '<%= grunt.template.today("UTC:yyyy-mm-dd h:MM:ss TT Z") %> - ' +
    207                                         'https://wordpress.org/plugins/buddypress/ */'
    208                                 }
     198                                src: BP_CSS
    209199                        }
    210200                },
Note: See TracChangeset for help on using the changeset viewer.