forked from pantsbuild/pants
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add --ignore-optional commandline flag for yarn install process. (pan…
…tsbuild#5209) ### Problem npm install currently ignores optional dependencies while yarn does not in Pants. This can cause issues with webpack -> ... -> fsevents -> node-gyp dependency chain. node-gyp will require native compilation (and thus gcc/g++ support) and fsevents only works in Mac in any case. pantsbuild#5205 ### Solution Add --ignore-optional command line flags to yarn install ### Result Optional dependencies are no longer installed using yarn as package manager.
- Loading branch information
1 parent
ea2c48a
commit 9d610a1
Showing
4 changed files
with
85 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters