From 4645f5174217054e3d640b8a6d6691bef08c9fa7 Mon Sep 17 00:00:00 2001 From: Matthias Giger Date: Tue, 31 Aug 2021 12:41:14 +0200 Subject: [PATCH] fix(react-native): workaround to avoid metro warning in react-native fix pending, assumed temporary see https://github.com/react-native-community/cli/issues/1168 --- package.json | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 489e0c9..7dfad7f 100644 --- a/package.json +++ b/package.json @@ -16,7 +16,10 @@ }, "type": "module", "main": "dist/index.js", - "exports": "./dist/index.js", + "exports": { + ".": "./dist/index.js", + "./package.json": "./package.json" + }, "sideEffects": false, "types": "dist/index.d.ts", "files": [