4 ms·
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
by illiarian 4y ago
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?
- joshmanders 4y ago> Oh, perhaps write them in a JSON form in some sort of package.json and read them from there perhaps? Maybe even have an executable that will read this file and understand your dependency graph and needs and install everything for you, and also allow you to keep it up to date. Maybe put this in `utils/npm.js` // short for node package manager. Brilliant. Lets all implement our own.
- mrozbarry 4y agoWell, you wouldn't need to for every package, it really depends on what you're bringing in and what dependencies they have. I do see your point, though.