fix(canvas): [PKG-CANVAS-04] preserve public type and export compatibility

This commit is contained in:
Harvey Zhao committed 2026-09-12 13:29:10 +08:00
1 parent 2b319109cd
commit 224572032a
29 files changed
+682 -41

No files matched your search

+2 -1
View File
@@ -322,6 +322,7 @@ function artplayerProxyCanvas(callback) {
return canvas;
};
}
const index = Object.assign(artplayerProxyCanvas, { default: artplayerProxyCanvas });
export {
artplayerProxyCanvas as default
index as default
};