curist / grunt-bower

grunt task to copy bower installed packages to other folder(s)
MIT License
93 stars 27 forks source link

Change : packageSpecific.files option behavior #27

Closed antwan closed 10 years ago

antwan commented 10 years ago

Hi,

I suggest an improvement to your great tool. While trying to deploy jquery.min.js in my production enviroment in thought it would make sense to not copy any other files than the ones explicitly stated in packageSpecific.files option.

For example with the config:

packageSpecific: {
    'jquery': {
        files: [
            'dist/jquery.min.js'
        ]
    }
},

Before : jquery.js and jquery.min.js are deployed into dest/.

After : only jquery.min.js is deployed into dest/.