-
-
Notifications
You must be signed in to change notification settings - Fork 40
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Replace find-root and pkg-config by pkg-conf
pkg-conf can find config without throwing exceptions. It returns an empty object by default, simplifying logic. And, usefully, it lets you determine the path of the loaded `package.json` file. pkg-config caches the JSON, though not the file resolution. I doubt the caching has any measurable impact when it comes to `standard-engine` and its use. Caching could be implemented on top of pkg-conf if necessary though.
- Loading branch information
1 parent
b579ea1
commit 6061b4f
Showing
2 changed files
with
8 additions
and
17 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