fix: 屏蔽备份功能

This commit is contained in:
2025-01-19 13:41:23 +08:00
parent 7f53f82fd4
commit e5a4381b04
5 changed files with 393 additions and 468 deletions
+1 -1
View File
@@ -10,7 +10,7 @@ export default defineConfig({
},
rollupOptions: {
// 确保不包含 Node.js 特定的模块,避免将 Node.js 模块错误地打包到浏览器代码中
external: ['fs', 'path','url','node','node-cron','cuid','dayjs','koa','koa-body',
external: ['child_process','fs', 'path','url','node','node-cron','cuid','dayjs','koa','koa-body',
'koa-mount','koa-router','koa-static','lodash','lowdb','multer','uuid','yaml','@koa/multer','@types/yaml'],
output: {
exports: 'named',