mirror of
https://github.com/element-plus/element-plus.git
synced 2024-11-21 01:02:59 +08:00
fix: add more exports types (#13498)
This commit is contained in:
parent
75ab3af851
commit
3ab31b4d60
@ -24,15 +24,36 @@
|
||||
"import": "./es/index.mjs",
|
||||
"require": "./lib/index.js"
|
||||
},
|
||||
"./es": "./es/index.mjs",
|
||||
"./lib": "./lib/index.js",
|
||||
"./es/*.mjs": "./es/*.mjs",
|
||||
"./es/*": {
|
||||
"types": "./es/*/index.d.ts",
|
||||
"./es": {
|
||||
"types": "./es/index.d.ts",
|
||||
"import": "./es/index.mjs"
|
||||
},
|
||||
"./lib": {
|
||||
"types": "./lib/index.d.ts",
|
||||
"require": "./lib/index.js"
|
||||
},
|
||||
"./es/*.mjs": {
|
||||
"types": "./es/*.d.ts",
|
||||
"import": "./es/*.mjs"
|
||||
},
|
||||
"./lib/*.js": "./lib/*.js",
|
||||
"./lib/*": "./lib/*.js",
|
||||
"./es/*": {
|
||||
"types": [
|
||||
"./es/*.d.ts",
|
||||
"./es/*/index.d.ts"
|
||||
],
|
||||
"import": "./es/*.mjs"
|
||||
},
|
||||
"./lib/*.js": {
|
||||
"types": "./lib/*.d.ts",
|
||||
"require": "./lib/*.js"
|
||||
},
|
||||
"./lib/*": {
|
||||
"types": [
|
||||
"./lib/*.d.ts",
|
||||
"./lib/*/index.d.ts"
|
||||
],
|
||||
"require": "./lib/*.js"
|
||||
},
|
||||
"./*": "./*"
|
||||
},
|
||||
"unpkg": "dist/index.full.js",
|
||||
|
Loading…
Reference in New Issue
Block a user