Add package.json export, close #211

This commit is contained in:
Vitaly Puzrin 2021-01-09 19:24:32 +03:00
parent 356c576448
commit b93a6e5643

View file

@ -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 .",