mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-11 13:56:15 -08:00
refactor(docs): [SITE-03] migrate desktop editor and integrate typed generation
This commit is contained in:
1 parent
a468cb2c39
commit
2f130c58f1
37 files changed
+1921
-305
No files matched your search
@@ -5,11 +5,11 @@ import { ownedPath, read, sha256 } from './files.ts'
|
||||
|
||||
export function buildCorpus(root: string): Map<string, string> {
|
||||
const common = ts.createSourceFile(
|
||||
'common.js',
|
||||
read(ownedPath(root, 'docs/assets/js/common.js')),
|
||||
'editor-libraries.ts',
|
||||
read(ownedPath(root, 'packages/artplayer-vitepress/browser/editor-libraries.ts')),
|
||||
ts.ScriptTarget.Latest,
|
||||
true,
|
||||
ts.ScriptKind.JS,
|
||||
ts.ScriptKind.TS,
|
||||
)
|
||||
const declarations: string[] = []
|
||||
let lists = 0
|
||||
|
||||
Reference in new issue
Block a user