mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-08 10:56:15 -08:00
update build-ts
This commit is contained in:
1 parent
054ee3f3f6
commit
1df2bd1def
1 file changed
+2
-2
+2
-2
@@ -3,8 +3,8 @@ import path from 'path';
|
||||
import glob from 'glob';
|
||||
|
||||
const reg = /^import.*;$/gim;
|
||||
const types = glob.sync(path.join(process.cwd(), 'packages/artplayer/types/*'));
|
||||
const output = path.join(path.join(process.cwd(), `docs/assets/ts/artplayer.d.ts`));
|
||||
const types = glob.sync('packages/artplayer/types/*');
|
||||
const output = path.join('docs/assets/ts/artplayer.d.ts');
|
||||
|
||||
let code = '';
|
||||
for (let index = 0; index < types.length; index++) {
|
||||
|
||||
Reference in new issue
Block a user