mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-27 17:51:20 -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';
|
import glob from 'glob';
|
||||||
|
|
||||||
const reg = /^import.*;$/gim;
|
const reg = /^import.*;$/gim;
|
||||||
const types = glob.sync(path.join(process.cwd(), 'packages/artplayer/types/*'));
|
const types = glob.sync('packages/artplayer/types/*');
|
||||||
const output = path.join(path.join(process.cwd(), `docs/assets/ts/artplayer.d.ts`));
|
const output = path.join('docs/assets/ts/artplayer.d.ts');
|
||||||
|
|
||||||
let code = '';
|
let code = '';
|
||||||
for (let index = 0; index < types.length; index++) {
|
for (let index = 0; index < types.length; index++) {
|
||||||
|
|||||||
Reference in new issue
Block a user