2 ms·
Perhaps you could do: import { Function1, Function2} from "https://deno.land/x/oak/mod.ts"; In the file that needs them? Though then you have a lot of re
by antihero 6y ago
Perhaps you could do:
import { Function1, Function2} from "https://deno.land/x/oak/mod.ts";
In the file that needs them? Though then you have a lot of redundant URLs everywhere and god knows how auto-imports could work.
Or perhaps you could do
// deps/oak.ts
export * from "https://deno.land/x/oak/mod.ts";
and then you'd do
import { Function1, Function2 } from './deps/oak';
I am not a fan of any of these.