mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-23 05:41:20 -08:00
feat(auto-thumbnail): [PKG-AUTO-THUMB-08] add compatible runtime type entry
This commit is contained in:
1 parent
7be628a983
commit
c4f5dcf17f
27 files changed
+2005
-40
No files matched your search
@@ -27,11 +27,31 @@
|
||||
"types": "./types/artplayer-plugin-auto-thumbnail.d.ts",
|
||||
"import": "./dist/artplayer-plugin-auto-thumbnail.legacy.js",
|
||||
"require": "./dist/artplayer-plugin-auto-thumbnail.legacy.js"
|
||||
},
|
||||
"./runtime": {
|
||||
"import": {
|
||||
"types": "./types/runtime.d.mts",
|
||||
"default": "./dist/artplayer-plugin-auto-thumbnail.mjs"
|
||||
},
|
||||
"require": {
|
||||
"types": "./types/runtime.d.cts",
|
||||
"default": "./dist/artplayer-plugin-auto-thumbnail.js"
|
||||
}
|
||||
}
|
||||
},
|
||||
"main": "./dist/artplayer-plugin-auto-thumbnail.js",
|
||||
"module": "./dist/artplayer-plugin-auto-thumbnail.mjs",
|
||||
"types": "./types/artplayer-plugin-auto-thumbnail.d.ts",
|
||||
"legacy": "./dist/artplayer-plugin-auto-thumbnail.legacy.js",
|
||||
"browserslist": "last 1 Chrome version"
|
||||
"browserslist": "last 1 Chrome version",
|
||||
"typesVersions": {
|
||||
"*": {
|
||||
"legacy": [
|
||||
"types/artplayer-plugin-auto-thumbnail.d.ts"
|
||||
],
|
||||
"runtime": [
|
||||
"types/runtime.d.ts"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user