mirror of
https://github.com/unanmed/HumanBreak.git
synced 2025-01-19 04:19:30 +08:00
更改页面打包配置
This commit is contained in:
parent
90f14bc067
commit
c550cf3bf6
2
.github/workflows/page.yml
vendored
2
.github/workflows/page.yml
vendored
@ -27,7 +27,7 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
npm i -g pnpm
|
npm i -g pnpm
|
||||||
pnpm i
|
pnpm i
|
||||||
pnpm build
|
pnpm build-gh
|
||||||
|
|
||||||
# 执行部署
|
# 执行部署
|
||||||
- name: 部署
|
- name: 部署
|
||||||
|
@ -6,6 +6,7 @@
|
|||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "vite",
|
"dev": "vite",
|
||||||
"build": "vue-tsc && vite build && ts-node-esm script/compress.ts",
|
"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": "vite preview",
|
||||||
"preview-node": "cd dist && node server.cjs",
|
"preview-node": "cd dist && node server.cjs",
|
||||||
"update": "ts-node-esm script/update.ts",
|
"update": "ts-node-esm script/update.ts",
|
||||||
|
@ -414,6 +414,10 @@ main.floors.MT16=
|
|||||||
{
|
{
|
||||||
"type": "function",
|
"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}"
|
"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": [
|
"3,23": [
|
||||||
|
Loading…
Reference in New Issue
Block a user