diff --git a/package.json b/package.json index a8830c8..d244000 100644 --- a/package.json +++ b/package.json @@ -12,8 +12,11 @@ "publishConfig": { "access": "public" }, - "main": "./lib/index.js", "types": "./lib/index.d.ts", + "exports": { + ".": "./lib/index.js", + "./tsconfig.json": "./lib/tsconfig.polyfill.json" + }, "scripts": { "build": "npm run clean && tsc && cp ./src/*.json ./lib", "clean": "rm -rf ./lib",