mirror of
https://github.com/denoland/deno.git
synced 2025-01-21 21:50:00 -05:00
parent
9caeff3208
commit
5a8a4da524
1 changed files with 4 additions and 1 deletions
|
@ -20,7 +20,10 @@ they are all imported individually into individual modules.
|
|||
The standard practice for solving this problem in Deno is to create a `deps.ts`
|
||||
file. All required remote dependencies are referenced in this file and the
|
||||
required methods and classes are re-exported. The dependent local modules then
|
||||
reference the `deps.ts` rather than the remote dependencies.
|
||||
reference the `deps.ts` rather than the remote dependencies. If now for example
|
||||
one remote dependency is used in several files, upgrading to a new version of
|
||||
this remote dependency is much simpler as this can be done just within
|
||||
`deps.ts`.
|
||||
|
||||
With all dependencies centralized in `deps.ts`, managing these becomes easier.
|
||||
Dev dependencies can also be managed in a separate `dev_deps.ts` file, allowing
|
||||
|
|
Loading…
Add table
Reference in a new issue