From 211d5d3833893bcfde30e17e4aa9d61e0b408ee5 Mon Sep 17 00:00:00 2001 From: Luigi Pinca Date: Mon, 24 Oct 2022 20:36:48 +0200 Subject: [PATCH] [pkg] Add package.json export Fixes #2091 --- package.json | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 135a345c3..b145d06b1 100644 --- a/package.json +++ b/package.json @@ -17,8 +17,11 @@ "license": "MIT", "main": "index.js", "exports": { - "import": "./wrapper.mjs", - "require": "./index.js" + ".": { + "import": "./wrapper.mjs", + "require": "./index.js" + }, + "./package.json": "./package.json" }, "browser": "browser.js", "engines": {