From cf1cebb89c397cd22f47f20f92d5094de01d251c Mon Sep 17 00:00:00 2001 From: Muhammad Numan Date: Thu, 25 Nov 2021 15:46:56 +0500 Subject: [PATCH] fix: react-native/metro bundler ignored warning of subpath package.json --- package.json | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 10326e075..f634dd660 100644 --- a/package.json +++ b/package.json @@ -18,7 +18,10 @@ }, "type": "module", "bin": "./bin/lint-staged.js", - "exports": "./lib/index.js", + "exports": { + ".": "./lib/index.js", + "./package.json": "./package.json" + }, "files": [ "bin", "lib"