From f94b456d2c17511820d4e46691dd42331022678b Mon Sep 17 00:00:00 2001 From: Gustavo Henke Date: Tue, 19 Jul 2022 09:38:38 +1000 Subject: [PATCH] Export package.json path (#339) --- package.json | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index 759ed056..9821aafc 100644 --- a/package.json +++ b/package.json @@ -12,10 +12,13 @@ "node": "^12.20.0 || ^14.13.0 || >=16.0.0" }, "exports": { - "import": "./index.mjs", - "require": "./index.js", - "default": "./index.js", - "types": "./dist/src/index.d.ts" + ".": { + "import": "./index.mjs", + "require": "./index.js", + "default": "./index.js", + "types": "./dist/src/index.d.ts" + }, + "./package.json": "./package.json" }, "scripts": { "build": "tsc --build",