diff --git a/package.json b/package.json index 2a1e202..4aad86b 100644 --- a/package.json +++ b/package.json @@ -21,7 +21,19 @@ ], "type": "commonjs", "main": "./dist/cjs/index.js", + "module": "./dist/cjs/esm-wrapper/index.js", "types": "./dist/types/index.d.ts", + "exports": { + "./package.json": "./package.json", + ".": [ + { + "import": "./dist/cjs/esm-wrapper/index.js", + "require": "./dist/cjs/index.js", + "types": "./dist/types/index.d.ts" + }, + "./dist/cjs/index.js" + ] + }, "keywords": [ "base", "cache",