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.
You can also use the built in bundle command to bundle all of your dependencies and your code into a single, easily deployable file. https://deno.land/manual/tools/bundler.
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.
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?
mrkurt|5 years ago
PinkMilkshake|5 years ago
https://deno.land/manual/linking_to_external_code
PudgePacket|5 years ago
afiori|5 years ago
xg15|5 years ago
bgdam|5 years ago
So I basically have to do manually, what NPM/yarn do for me already?
doctoboggan|5 years ago