Skip to content

What happen to --ignore-optional? #2412

Answered by arcanis
bodinsamuel asked this question in Q&A
Discussion options

You must be logged in to vote

It has been removed. It's not so much because of its instability, but rather because noone used it right, and it wasn't very helpful to begin with. Optional dependencies, as defined by the optionalDependencies flag, and that we still support, only have their build optional. The packages are still fetched, and still installed - it's just that if they have built steps, then errors that could happen then are downgraded into warnings. As such, not installing those packages at all would be technically incorrect as it would produce a different execution environment in different cases.

Generally speaking we don't really want to support "partial views" of your project in the core unless we can gu…

Replies: 7 comments 3 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
3 replies
@bodinsamuel
Comment options

@DeeepDev
Comment options

@cellog
Comment options

Answer selected by bodinsamuel
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
7 participants
Converted from issue

This discussion was converted from issue #2411 on January 25, 2021 15:20.