diff --git a/packages/livekit-server-sdk/package.json b/packages/livekit-server-sdk/package.json index 181ec7f4..19f56c06 100644 --- a/packages/livekit-server-sdk/package.json +++ b/packages/livekit-server-sdk/package.json @@ -11,7 +11,6 @@ "type": "module", "exports": { ".": { - "types": "./dist/index.d.ts", "import": "./dist/index.js", "require": "./dist/index.cjs" } @@ -21,7 +20,7 @@ "src" ], "scripts": { - "build": "tsup --onSuccess \"tsc --declaration --emitDeclarationOnly\"", + "build": "tsup --onSuccess \"tsc --declaration --emitDeclarationOnly && cp ./dist/index.d.ts ./dist/index.d.cts\"", "build:watch": "tsc --watch", "build-docs": "typedoc", "changeset": "changeset",