refactor: 推翻舊架構, 進入 Vite 盛世!
* 所有的 CDN 依賴已全部 npm 化 * Webpack? 一邊去! Vite 太好用啦! * 將 Imports.ts 剔除 * 移除了大量的靜態文件 * 將 index.html 的部分代碼分離 * 修改 deno task * 移除了動態編譯頁面的支持 * ./static 引用全部變更為 npm 包引用
This commit is contained in:
@@ -8,7 +8,7 @@ export default abstract class BaseApi {
|
||||
this.onInit()
|
||||
}
|
||||
abstract onInit(): void
|
||||
checkArgsMissing(args: { [key: string]: unknown }, names: []) {
|
||||
checkArgsMissing(args: { [key: string]: unknown }, names: string[]) {
|
||||
for (const k of names)
|
||||
if (!(k in args))
|
||||
return true
|
||||
|
||||
Reference in New Issue
Block a user