將部分依賴存放本地, 添加針對移動端的報錯提示, 修正 CryptoES 的導出以及 Utf8 的引用, 忽略編譯靜態庫文件
This commit is contained in:
@@ -30,12 +30,13 @@ async function compileJs(path: string) {
|
||||
|
||||
export default async function(source: string, output: string) {
|
||||
const t = Date.now()
|
||||
io.remove(output)
|
||||
io.copyDir(source, output)
|
||||
for (const v of io.listFiles(output, {
|
||||
recursive: true,
|
||||
fullPath: true,
|
||||
}))
|
||||
if (/\.(t|j)sx?$/.test(v))
|
||||
if (/\.(t|j)sx?$/.test(v) && !/\.(min|static)\.(t|j)sx?$/.test(v))
|
||||
await compileJs(v)
|
||||
return (Date.now() - t) / 1000
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user