diff --git a/package.json b/package.json index 8a8c3eea03..7707fdecd7 100644 --- a/package.json +++ b/package.json @@ -27,6 +27,12 @@ "type": "git", "url": "git+https://github.com/supertokens/supertokens-node.git" }, + "exports": { + "./recipe/*": { + "types": "./recipe/*/index.d.ts", + "default": "./recipe/*/index.js" + } + }, "author": "rishabhpoddar", "license": "Apache-2.0", "bugs": {