mirror of
https://github.com/iconify/iconify.git
synced 2025-01-09 00:10:47 +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"
|
"vitest": "npm run vitest:cjs && npm run vitest:esm"
|
||||||
},
|
},
|
||||||
"sideEffects": false,
|
"sideEffects": false,
|
||||||
|
"main": "lib/index.cjs",
|
||||||
|
"module": "lib/index.mjs",
|
||||||
|
"types": "lib/index.d.ts",
|
||||||
"exports": {
|
"exports": {
|
||||||
".": {
|
".": {
|
||||||
"require": "./lib/index.cjs",
|
"require": "./lib/index.cjs",
|
||||||
@ -189,13 +192,17 @@
|
|||||||
"import": "./lib/svg/size.mjs"
|
"import": "./lib/svg/size.mjs"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"main": "lib/index.cjs",
|
|
||||||
"module": "lib/index.mjs",
|
|
||||||
"types": "lib/index.d.ts",
|
|
||||||
"files": [
|
"files": [
|
||||||
"lib",
|
"lib",
|
||||||
"*.d.ts"
|
"*.d.ts"
|
||||||
],
|
],
|
||||||
|
"typesVersions": {
|
||||||
|
"*": {
|
||||||
|
"*": [
|
||||||
|
"./dist/*"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@antfu/install-pkg": "^0.1.0",
|
"@antfu/install-pkg": "^0.1.0",
|
||||||
"@antfu/utils": "^0.3.0",
|
"@antfu/utils": "^0.3.0",
|
||||||
|
Loading…
Reference in New Issue
Block a user