feat: Universal Package (#578)

* feat: 统一包支持

* feat: Universal
This commit is contained in:
手瓜一十雪
2024-11-29 15:11:35 +08:00
committed by GitHub
parent c81c4af653
commit 7087eafe37
6 changed files with 438 additions and 370 deletions

7
src/universal/napcat.ts Normal file
View File

@@ -0,0 +1,7 @@
import { NCoreInitShell } from "@/shell/base";
export * from "@/framework/napcat";
export * from "@/shell/base";
if ((global as any).LiteLoader == undefined) {
NCoreInitShell();
}