callumlocke / grunt-cdnify

Grunt plugin for finding and modifying static resource URLs
61 stars 40 forks source link

registerMultiTask name collision #38

Open hwong668 opened 8 years ago

hwong668 commented 8 years ago

Hi, Our project uses the Angular Fullstack template and it include google-cdnify as a grunt task. We also want to use grunt-cdnify but google-cdnify already uses a grunt task name 'cdnify' to register. grunt.registerMultiTask('cdnify', 'Replace scripts with refs to the Google CDN', function () { Is it possible to rename yours to grunt-cdnify? grunt.registerMultiTask('gruntcdnify', 'Converts local URLs to CDN ones.', function () {

thanks

XhmikosR commented 8 years ago

Hmm, and why not the other way around?

hwong668 commented 8 years ago

You've a point :) I submitted a ticket over there (https://github.com/btford/grunt-google-cdn/issues/70). I guess it'd be easier if we could use npm module name as task name to avoid collision. thanks