2 ms·
import { test } from "https://unpkg.com/deno_testing@0.0.5/testing.ts" Won't this get old really quickly? Most of my Javascript files start with 3-4 imports of
by kcorbitt 8y ago
import { test } from "https://unpkg.com/deno_testing@0.0.5/testing.ts"
Won't this get old really quickly? Most of my Javascript files start with 3-4 imports of the form `import React from "react"`, `import { sortBy } from "lodash"`. Having to type out the full path/version for those imports feels like a step backwards in usability, and makes it more likely that I'll end up with mismatched versions of dependencies.
- n_ary 8y agoNot a problem if the version part is excluded. Golang uses similar imports(think all the github.com/user/package) and seems fine. But this could lead to a mess, as different files may end up using different version of same package.