diff --git a/packages/bundler-vite/client.d.ts b/packages/bundler-vite/client.d.ts new file mode 100644 index 0000000000..11f02fe2a0 --- /dev/null +++ b/packages/bundler-vite/client.d.ts @@ -0,0 +1 @@ +/// diff --git a/packages/bundler-vite/package.json b/packages/bundler-vite/package.json index 1cdf1b346f..1a40ba3125 100644 --- a/packages/bundler-vite/package.json +++ b/packages/bundler-vite/package.json @@ -21,12 +21,14 @@ "type": "module", "exports": { ".": "./dist/index.js", + "./client": "./client.d.ts", "./package.json": "./package.json" }, "main": "./dist/index.js", "types": "./dist/index.d.ts", "files": [ - "dist" + "dist", + "client.d.ts" ], "scripts": { "build": "tsup",