Skip to content
This repository has been archived by the owner on Jun 10, 2019. It is now read-only.

Better hoisting, for faster bootstrap and less node_modules duplication #4

Closed
kylecordes opened this issue Apr 14, 2017 · 2 comments
Closed

Comments

@kylecordes
Copy link
Contributor

Currently this example does not use the "hoist" mode of Lerna, because Angular CLI unfortunately requires that its dependencies be installed in the immediate, local node_modules directory, rather than using standard node module resolution (which would be possible of finding "hoisted" packages).

angular/angular-cli#3864

I've already made an experimental branch which applies a bunch of symlinks to patch this up.

At some point, either ensure this is reasonably solid and use it, or hopefully see Angular CLI perform standard node resolution so that hoist "just works".

@kylecordes
Copy link
Contributor Author

Some progress on the Angular CLI issue went in:

angular/angular-cli#6276

... but unfortunately doesn't appear to do the job fully enough yet:

angular/angular-cli#3864 (comment)

@kylecordes
Copy link
Contributor Author

This was achieved, or made irrelevant, by switching to Nx.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant