diff --git a/clients/js/package.json b/clients/js/package.json index fa423dfe989..663042b775c 100644 --- a/clients/js/package.json +++ b/clients/js/package.json @@ -19,7 +19,11 @@ "typescript": "^5.0.4" }, "main": "dist/main/index.js", - "module": "dist/module/index.js", + "module": "dist/module/index.js", + "exports": { + "require": "./dist/main/index.js", + "import": "./dist/module/index.js" + }, "files": [ "src", "dist"