From b93a6e5643e395b58d8d2d36a433d4e326a776ec Mon Sep 17 00:00:00 2001 From: Vitaly Puzrin Date: Sat, 9 Jan 2021 19:24:32 +0300 Subject: [PATCH] Add package.json export, close #211 --- package.json | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 0d8a2d9..74c0255 100644 --- a/package.json +++ b/package.json @@ -25,8 +25,11 @@ "repository": "nodeca/pako", "module": "./dist/pako.esm.mjs", "exports": { - "import": "./dist/pako.esm.mjs", - "require": "./index.js" + ".": { + "import": "./dist/pako.esm.mjs", + "require": "./index.js" + }, + "./package.json": "./package.json" }, "scripts": { "lint": "eslint .",