passy / google-cdn

Replaces references to resources on the Google CDN
BSD 3-Clause "New" or "Revised" License
70 stars 29 forks source link

Allow to pass a cdn data object in options #14

Closed shahata closed 10 years ago

shahata commented 10 years ago

I think that the correct way to use google-cdn is not to store all the "cdn data" in lib/data.js. Instead ppl should be able to create their own "cdn data" node modules and google-cdn should accept those in the options param. This will make the "cdn data" much more easily maintained and will also provide a very easy solution for ppl like me who would like to use their own company cdn for their apps.

Also, the name of this project needs to change :)

passy commented 10 years ago

Great idea! Thanks for the PR!