Discover config files in the packaged root and project root.
Order: packaged public → project public → project local.
The packaged root is the host package root: the nearest package.json
directory above importMetaUrl (Decision 23). When it is the project root
(a repo-local host), the packaged layer is skipped, so the same file isn't
applied twice.
Parameters
OptionalimportMetaUrl: string
The host's import.meta.url; when omitted there is
no packaged layer.
Discover config files in the packaged root and project root. Order: packaged public → project public → project local.
The packaged root is the host package root: the nearest
package.jsondirectory aboveimportMetaUrl(Decision 23). When it is the project root (a repo-local host), the packaged layer is skipped, so the same file isn't applied twice.