mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-13 07:46:17 -08:00
add artplayer-template
This commit is contained in:
1 parent
8fa763b9c7
commit
703f881019
59 files changed
+1408
-1
No files matched your search
+1
-1
@@ -3,7 +3,7 @@ import glob from 'glob';
|
||||
|
||||
export default glob
|
||||
.sync(path.join(process.cwd(), 'packages/*'))
|
||||
.filter((item) => !item.endsWith('artplayer-document'))
|
||||
.filter((item) => !item.endsWith('artplayer-document') && !item.endsWith('artplayer-template'))
|
||||
.reduce((result, item) => {
|
||||
const name = item.split(path.sep).pop();
|
||||
result[name] = item;
|
||||
|
||||
Reference in new issue
Block a user