feat: Universal Package (#578)

* feat: 统一包支持

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

No files matched your search

+2
View File
@@ -4,9 +4,11 @@
"type": "module",
"version": "4.2.7",
"scripts": {
"build:universal": "npm run build:webui && vite build --mode universal || exit 1",
"build:framework": "npm run build:webui && vite build --mode framework || exit 1",
"build:shell": "npm run build:webui && vite build --mode shell || exit 1",
"build:webui": "cd napcat.webui && vite build",
"dev:universal": "vite build --mode universal",
"dev:framework": "vite build --mode framework",
"dev:shell": "vite build --mode shell",
"dev:webui": "cd napcat.webui && npm run webui:dev",