diff --git a/packages/vuepress/client-types.d.ts b/packages/vuepress/client-types.d.ts new file mode 100644 index 0000000000..9ca2207e90 --- /dev/null +++ b/packages/vuepress/client-types.d.ts @@ -0,0 +1 @@ +import '@vuepress/client/types' diff --git a/packages/vuepress/package.json b/packages/vuepress/package.json index e0bc3a1394..fa051b0597 100644 --- a/packages/vuepress/package.json +++ b/packages/vuepress/package.json @@ -25,6 +25,7 @@ "./cli": "./dist/cli.js", "./client": "./dist/client.js", "./client-app": "./dist/client-app.js", + "./client-types": "./client-types.d.ts", "./core": "./dist/core.js", "./markdown": "./dist/markdown.js", "./shared": "./dist/shared.js", @@ -40,7 +41,8 @@ }, "files": [ "bin", - "dist" + "dist", + "client-types.d.ts" ], "scripts": { "build": "tsup",