-
Notifications
You must be signed in to change notification settings - Fork 295
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: do not run ngcc when node_modules does not exist
Prior to this change, ng-packagr would fail with an error when ngcc could not be run due to a missing `node_modules` directory, as is the case with Yarn Plug'n'Play for example. The workaround was to create an empty `node_modules` directory, but this is inconvenient and shouldn't make any difference. This commit removes the error and simply skips ngcc processing.
- Loading branch information
1 parent
1030616
commit 97beddc
Showing
1 changed file
with
11 additions
and
7 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