Because now you have to write this manually for every package. And how do you deal with dependencies of that package that also need to be fetched from `your-cdn`?
Oh, perhaps write them in a JSON form in some sort of package.json and read them from there perhaps?