add Artplayer.DEGUG

This commit is contained in:
Harvey committed 2022-10-08 09:51:49 +08:00
1 parent eda1fab811
commit 500acc2444
19 files changed
+198 -201

No files matched your search

-11
View File
@@ -1,11 +0,0 @@
import path from 'path';
import glob from 'glob';
export default glob
.sync(path.join(process.cwd(), 'packages/*'))
.filter((item) => !item.endsWith('artplayer-document') && !item.endsWith('artplayer-template'))
.reduce((result, item) => {
const name = item.split(path.sep).pop();
result[name] = item;
return result;
}, {});