mirror of
https://github.com/iconify/iconify.git
synced 2025-01-07 07:34:22 +00:00
fix(next): add dts
for non node packages
I talk with @antfu (sorry to ping you here ;) ), we need to add the `typedVersions`, we talk about it a few days/weeks ago: ``json "typesVersions": { "*": { "*": [ "./dist/*" ] } }, ```
This commit is contained in:
parent
34a3d91521
commit
814e944e27
@ -25,6 +25,9 @@
|
||||
"vitest": "npm run vitest:cjs && npm run vitest:esm"
|
||||
},
|
||||
"sideEffects": false,
|
||||
"main": "lib/index.cjs",
|
||||
"module": "lib/index.mjs",
|
||||
"types": "lib/index.d.ts",
|
||||
"exports": {
|
||||
".": {
|
||||
"require": "./lib/index.cjs",
|
||||
@ -189,13 +192,17 @@
|
||||
"import": "./lib/svg/size.mjs"
|
||||
}
|
||||
},
|
||||
"main": "lib/index.cjs",
|
||||
"module": "lib/index.mjs",
|
||||
"types": "lib/index.d.ts",
|
||||
"files": [
|
||||
"lib",
|
||||
"*.d.ts"
|
||||
],
|
||||
"typesVersions": {
|
||||
"*": {
|
||||
"*": [
|
||||
"./dist/*"
|
||||
]
|
||||
}
|
||||
},
|
||||
"dependencies": {
|
||||
"@antfu/install-pkg": "^0.1.0",
|
||||
"@antfu/utils": "^0.3.0",
|
||||
|
Loading…
Reference in New Issue
Block a user