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