mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-12 06:26:16 -08:00
chore: Update change log, add removal of svg default fill color value and direct import optimization of Option
This commit is contained in:
1 parent
4fa1730242
commit
f1fcbd75fe
1 file changed
+12
@@ -6,6 +6,18 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
||||
|
||||
## [Unreleased]
|
||||
|
||||
- 移除 `svg` 默认的 `fill` 颜色值
|
||||
- 优化 `artplayer.d.ts`, 现在可以直接导入 `Option`
|
||||
|
||||
```ts
|
||||
import type { Option } from 'artplayer'
|
||||
|
||||
const option: Option = {
|
||||
container: '.artplayer-app',
|
||||
url: './assets/sample/video.mp4',
|
||||
}
|
||||
```
|
||||
|
||||
## [5.2.5] - 2025-08-01
|
||||
|
||||
- 为所有包添加 `ESM` 版本如 `artplayer/dist/artplayer.esm.js`
|
||||
|
||||
Reference in new issue
Block a user