Hoping to not add to the noise, feel free to close.
In the example:
import { test } from "https://unpkg.com/deno_testing@0.0.5/testing.ts"
import { log } from "./util.ts"
The test function is pulled from a url that is cached. What happens if this test url also requires something from the file-system for instance ../meow.ts
. Would it simply just keep following all the URLS and build the cache of everything that is on the given domain unless it runs into an error where a dep
cannot be found? It would have to pull https://unpkg.com/meow.ts
. I'd love to see a "sitemap" of all the dependencies download from all the given urls.
For example:
https://unpkg.com/deno_testing@0.0.5/testing.ts
https://unpkg.com/meow.ts
What about whitelisting / blacklisting domains? What happens if down the dep tree some package is using a dependency from a domain I don't want to use. Would adding a blacklist be a good idea?
For the --reload
feature. What about reloading files only from a given domain name or regex path
instead of all deps?