diff --git a/packages/element-plus/package.json b/packages/element-plus/package.json index 01829598a5..b227cfd5b2 100644 --- a/packages/element-plus/package.json +++ b/packages/element-plus/package.json @@ -27,7 +27,10 @@ "./es": "./es/index.mjs", "./lib": "./lib/index.js", "./es/*.mjs": "./es/*.mjs", - "./es/*": "./es/*.mjs", + "./es/*": { + "types": "./es/*/index.d.ts", + "import": "./es/*.mjs" + }, "./lib/*.js": "./lib/*.js", "./lib/*": "./lib/*.js", "./*": "./*"