diff --git a/package.json b/package.json index 2edd4ca..c350358 100644 --- a/package.json +++ b/package.json @@ -5,6 +5,13 @@ "main": "dist/src/index.js", "types": "dist/src/index.d.ts", "type": "commonjs", + "exports": { + ".": { + "import": "./dist/src/index.js", + "require": "./dist/src/index.js", + "types": "./dist/src/index.d.ts" + } + }, "scripts": { "build": "tsc", "build:watch": "tsc --watch",