更改页面打包配置

This commit is contained in:
unanmed 2023-01-04 11:44:47 +08:00
parent 90f14bc067
commit c550cf3bf6
3 changed files with 6 additions and 1 deletions

View File

@ -27,7 +27,7 @@ jobs:
run: |
npm i -g pnpm
pnpm i
pnpm build
pnpm build-gh
# 执行部署
- name: 部署

View File

@ -6,6 +6,7 @@
"scripts": {
"dev": "vite",
"build": "vue-tsc && vite build && ts-node-esm script/compress.ts",
"build-gh": "vue-tsc && vite build --base=/HumanBreak/ && ts-node-esm script/compress.ts",
"preview": "vite preview",
"preview-node": "cd dist && node server.cjs",
"update": "ts-node-esm script/update.ts",

View File

@ -414,6 +414,10 @@ main.floors.MT16=
{
"type": "function",
"function": "function(){\nconst enemy = core.getRemainEnemyString(core.floorIds.slice(5, 17));\nif (enemy.length === 0) {\n\tcore.insertAction(['当前无剩余怪物!', { \"type\": \"hide\", \"remove\": true }, ]);\n} else {\n\tcore.insertAction(enemy);\n}\n}"
},
{
"type": "loadBgm",
"name": "escape.mp3"
}
],
"3,23": [