mirror of
https://github.com/Mibew/simple-icons.git
synced 2025-01-19 08:30:35 +03:00
Fix types export for Typescript v5 module resolution options (#9787)
This commit is contained in:
parent
8c31e1a1c4
commit
e648a5f8df
40
package.json
40
package.json
@ -12,16 +12,40 @@
|
|||||||
"types": "index.d.ts",
|
"types": "index.d.ts",
|
||||||
"exports": {
|
"exports": {
|
||||||
".": {
|
".": {
|
||||||
"module": "./index.mjs",
|
"import": {
|
||||||
"import": "./index.mjs",
|
"types": "./index.d.ts",
|
||||||
"require": "./index.js",
|
"default": "./index.mjs"
|
||||||
"default": "./index.js"
|
},
|
||||||
|
"module": {
|
||||||
|
"types": "./index.d.ts",
|
||||||
|
"default": "./index.mjs"
|
||||||
|
},
|
||||||
|
"require": {
|
||||||
|
"types": "./index.d.ts",
|
||||||
|
"default": "./index.js"
|
||||||
|
},
|
||||||
|
"default": {
|
||||||
|
"types": "./index.d.ts",
|
||||||
|
"default": "./index.js"
|
||||||
|
}
|
||||||
},
|
},
|
||||||
"./icons": {
|
"./icons": {
|
||||||
"module": "./index.mjs",
|
"import": {
|
||||||
"import": "./index.mjs",
|
"types": "./index.d.ts",
|
||||||
"require": "./index.js",
|
"default": "./index.mjs"
|
||||||
"default": "./index.js"
|
},
|
||||||
|
"module": {
|
||||||
|
"types": "./index.d.ts",
|
||||||
|
"default": "./index.mjs"
|
||||||
|
},
|
||||||
|
"require": {
|
||||||
|
"types": "./index.d.ts",
|
||||||
|
"default": "./index.js"
|
||||||
|
},
|
||||||
|
"default": {
|
||||||
|
"types": "./index.d.ts",
|
||||||
|
"default": "./index.js"
|
||||||
|
}
|
||||||
},
|
},
|
||||||
"./icons/*": [
|
"./icons/*": [
|
||||||
"./icons/*"
|
"./icons/*"
|
||||||
|
Loading…
Reference in New Issue
Block a user