diff --git a/frontend/frontend-sdk/package.json b/frontend/frontend-sdk/package.json index 4a58b3946..b69c6d892 100644 --- a/frontend/frontend-sdk/package.json +++ b/frontend/frontend-sdk/package.json @@ -8,12 +8,15 @@ "files": [ "dist" ], - "types": "dist/index.d.ts", "type": "module", "source": "src/index.ts", + "types": "dist/index.d.ts", "exports": { - "require": "./dist/sdk.cjs", - "default": "./dist/sdk.modern.js" + ".": { + "require": "./dist/sdk.cjs", + "types": "./dist/index.d.ts", + "default": "./dist/sdk.modern.js" + } }, "main": "./dist/sdk.cjs", "module": "./dist/sdk.module.js",