From 433655defc1ff15e0539f71cf6d878ec8d7b08d5 Mon Sep 17 00:00:00 2001 From: Lee Vaughn-Ogin Date: Thu, 1 Apr 2021 10:29:52 -0700 Subject: [PATCH] Fixed react-native warning about package.json export --- package.json | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index 9665441..4a551a8 100644 --- a/package.json +++ b/package.json @@ -20,9 +20,12 @@ "README.md" ], "exports": { - "import": "./lib/index.esm.js", - "require": "./lib/index.cjs.js", - "default": "./lib/index.cjs.js" + ".": { + "import": "./lib/index.esm.js", + "require": "./lib/index.cjs.js", + "default": "./lib/index.cjs.js" + }, + "./package.json": "./package.json" }, "scripts": { "prepublishOnly": "yarn compile",