From 75c7396ec4bddf684e2122052ac59a8d52c1fab3 Mon Sep 17 00:00:00 2001 From: Gustavo Henke Date: Fri, 15 Jul 2022 19:26:37 +1000 Subject: [PATCH] Export package.json path --- 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",