top | item 45758036

(no title)

Sankozi | 4 months ago

This is not a good idea: this leads to longer build times and/or invalid builds (you build against different dependencies than declared in config).

Having dependency cache and build tool that knows where to look for it is much superior solution.

discuss

order

jampekka|4 months ago

(p)npm manages both fine with the dependency directory structure.

Sankozi|4 months ago

This is literally not possible.

If you have local dependency repo and dependency manifest, during the build, you can either:

1. Check if local repo is in sync - correct build, takes more time

2. Skip the check - risky build, but fast

If the dependencies are only in the cache directory, you can have both - correct and fast builds.