mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-28 18:41:20 -08:00
fix(canvas): [PKG-CANVAS-04] preserve public type and export compatibility
This commit is contained in:
1 parent
2b319109cd
commit
224572032a
29 files changed
+682
-41
No files matched your search
@@ -19,19 +19,36 @@
|
||||
],
|
||||
"exports": {
|
||||
".": {
|
||||
"types": "./types/artplayer-proxy-canvas.d.ts",
|
||||
"import": "./dist/artplayer-proxy-canvas.mjs",
|
||||
"require": "./dist/artplayer-proxy-canvas.js"
|
||||
"import": {
|
||||
"types": "./types/artplayer-proxy-canvas.d.mts",
|
||||
"default": "./dist/artplayer-proxy-canvas.mjs"
|
||||
},
|
||||
"require": {
|
||||
"types": "./types/artplayer-proxy-canvas.d.cts",
|
||||
"default": "./dist/artplayer-proxy-canvas.js"
|
||||
}
|
||||
},
|
||||
"./legacy": {
|
||||
"types": "./types/artplayer-proxy-canvas.d.ts",
|
||||
"import": "./dist/artplayer-proxy-canvas.legacy.js",
|
||||
"require": "./dist/artplayer-proxy-canvas.legacy.js"
|
||||
"import": {
|
||||
"types": "./types/artplayer-proxy-canvas.d.cts",
|
||||
"default": "./dist/artplayer-proxy-canvas.legacy.js"
|
||||
},
|
||||
"require": {
|
||||
"types": "./types/artplayer-proxy-canvas.d.cts",
|
||||
"default": "./dist/artplayer-proxy-canvas.legacy.js"
|
||||
}
|
||||
}
|
||||
},
|
||||
"main": "./dist/artplayer-proxy-canvas.js",
|
||||
"module": "./dist/artplayer-proxy-canvas.mjs",
|
||||
"types": "./types/artplayer-proxy-canvas.d.ts",
|
||||
"legacy": "./dist/artplayer-proxy-canvas.legacy.js",
|
||||
"browserslist": "last 1 Chrome version"
|
||||
"browserslist": "last 1 Chrome version",
|
||||
"typesVersions": {
|
||||
"*": {
|
||||
"legacy": [
|
||||
"types/artplayer-proxy-canvas.d.ts"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user