mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-26 17:01:20 -08:00
refactor(chromecast): [PKG-CAST-04] preserve published types and add runtime entry
This commit is contained in:
1 parent
b0cfbfe3a0
commit
8ec9fbe83a
27 files changed
+994
-52
No files matched your search
@@ -27,11 +27,27 @@
|
||||
"types": "./types/artplayer-plugin-chromecast.d.ts",
|
||||
"import": "./dist/artplayer-plugin-chromecast.legacy.js",
|
||||
"require": "./dist/artplayer-plugin-chromecast.legacy.js"
|
||||
},
|
||||
"./runtime": {
|
||||
"import": {
|
||||
"types": "./types/runtime.d.mts",
|
||||
"default": "./dist/artplayer-plugin-chromecast.mjs"
|
||||
},
|
||||
"require": {
|
||||
"types": "./types/runtime.d.cts",
|
||||
"default": "./dist/artplayer-plugin-chromecast.js"
|
||||
}
|
||||
}
|
||||
},
|
||||
"main": "./dist/artplayer-plugin-chromecast.js",
|
||||
"module": "./dist/artplayer-plugin-chromecast.mjs",
|
||||
"types": "./types/artplayer-plugin-chromecast.d.ts",
|
||||
"legacy": "./dist/artplayer-plugin-chromecast.legacy.js",
|
||||
"browserslist": "last 1 Chrome version"
|
||||
"browserslist": "last 1 Chrome version",
|
||||
"typesVersions": {
|
||||
"*": {
|
||||
"legacy": ["types/artplayer-plugin-chromecast.d.ts"],
|
||||
"runtime": ["types/runtime.d.ts"]
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user