top | item 23173144

(no title)

Saaster | 5 years ago

Does Deno have some built in way to vendor / download the imports pre-execution? I don't want my production service to fail to launch because some random repo is offline.

discuss

order

afiori|5 years ago

Deno caches local copies and offer control on when to reload them. in term of vendoring you can simply download everything yourself and use local paths for imports.

xg15|5 years ago

How would this work with transitive dependencies? Sure I can control which parts I import myself, but how do I keep a vendored file from pulling in another URL a level deeper?

bgdam|5 years ago

> in term of vendoring you can simply download everything yourself and use local paths for imports.

So I basically have to do manually, what NPM/yarn do for me already?

doctoboggan|5 years ago

I assume you would just download the packages and serve them yourself.