From 568b399dd76f09e58ece19e29e4248c738efb4e9 Mon Sep 17 00:00:00 2001 From: 43081j <43081j@users.noreply.github.com> Date: Thu, 20 Oct 2022 23:19:54 +0100 Subject: [PATCH] chore: update readme to reflect conditionNames default --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 644305c8..57cc9901 100644 --- a/README.md +++ b/README.md @@ -83,7 +83,7 @@ myResolver.resolve({}, lookupStartPath, request, resolveContext, ( | extensionAlias | {} | An object which maps extension to extension aliases | | cachePredicate | function() { return true }; | A function which decides whether a request should be cached or not. An object is passed to the function with `path` and `request` properties. | | cacheWithContext | true | If unsafe cache is enabled, includes `request.context` in the cache key | -| conditionNames | ["node"] | A list of exports field condition names | +| conditionNames | [] | A list of exports field condition names | | descriptionFiles | ["package.json"] | A list of description files to read from | | enforceExtension | false | Enforce that a extension from extensions must be used | | exportsFields | ["exports"] | A list of exports fields in description files |